mIRC Home    About    Download    Register    News    Help

Topic Options
#252072 - 18/03/15 07:23 PM Bracket Checker for Notepad++
paper0rplastic Offline
Babel fish

Registered: 16/09/14
Posts: 52
Does anyone know if there is a Notepad++ plugin that will behave like the bracket checker built into mIRC?

Top
#252074 - 18/03/15 10:53 PM Re: Bracket Checker for Notepad++ [Re: paper0rplastic]
Masoud Offline
Vogon poet

Registered: 01/03/10
Posts: 142
Loc: London, UK
Use mSLDev?
_________________________
Nothing...

Top
#252079 - 19/03/15 11:54 AM Re: Bracket Checker for Notepad++ [Re: Masoud]
westor Offline
Hoopy frood

Registered: 27/12/08
Posts: 1510
Loc: Greece
Or have a look this: http://hawkee.com/snippet/7720/
_________________________
Need Online mIRC help or an mIRC Scripting Freelancer? -> http://westor.ucoz.com/contact <-

Top
#252085 - 19/03/15 04:26 PM Re: Bracket Checker for Notepad++ [Re: paper0rplastic]
paper0rplastic Offline
Babel fish

Registered: 16/09/14
Posts: 52
Thanks for the feedback guys. I will look into both. smile

Top
#262806 - 08/04/18 06:46 PM Re: Bracket Checker for Notepad++ [Re: paper0rplastic]
jHoNDoE Offline
Ameglian cow

Registered: 09/12/02
Posts: 33
There is another one too, http://hawkee.com/snippet/18676/, I like this one.

Top
#262808 - 08/04/18 07:35 PM Re: Bracket Checker for Notepad++ [Re: jHoNDoE]
maroon Offline
Hoopy frood

Registered: 12/01/04
Posts: 969
You mind testing the bracket checker with this alias?

It behaves correctly for "/bracket_test 1", but displays nothing for "/bracket_test 0". This shows up if the last command of the line is commented and the if() condition is false. But if you comment test2 and not comment test3, it behaves as expected.

Code:
alias bracket_test {
  echo -a -----
  if ($1) { echo -a test1 | echo -a test2 | ; echo -a test3 }
  else echo -a test4
  echo -a test5
}

Top
#262809 - 08/04/18 07:45 PM Re: Bracket Checker for Notepad++ [Re: maroon]
jHoNDoE Offline
Ameglian cow

Registered: 09/12/02
Posts: 33
Sorry, not a programmer here, not sure what you really want me to test, hopefully a screenshot will do?



Edited by jHoNDoE (08/04/18 07:45 PM)

Top
#262810 - 08/04/18 08:06 PM Re: Bracket Checker for Notepad++ [Re: jHoNDoE]
maroon Offline
Hoopy frood

Registered: 12/01/04
Posts: 969
The thread is about something that checks brackets the same way as the built-in bracket checker, which I was reading as being Ctrl-H. If the 2 colors for the brackets means that it's matching the 4 brackets without warning of errors, then it's behaving like mIRC, where Ctrl+H doesn't warn of an error, but the end bracket of that internal pair is ignored when the if() condition is $false, but recognized when $true.

Top