mIRC Homepage
Posted By: paper0rplastic Bracket Checker for Notepad++ - 18/03/15 07:23 PM
Does anyone know if there is a Notepad++ plugin that will behave like the bracket checker built into mIRC?
Posted By: Masoud Re: Bracket Checker for Notepad++ - 18/03/15 10:53 PM
Use mSLDev?
Posted By: westor Re: Bracket Checker for Notepad++ - 19/03/15 11:54 AM
Or have a look this: http://hawkee.com/snippet/7720/
Posted By: paper0rplastic Re: Bracket Checker for Notepad++ - 19/03/15 04:26 PM
Thanks for the feedback guys. I will look into both. smile
Posted By: jHoNDoE Re: Bracket Checker for Notepad++ - 08/04/18 05:46 PM
There is another one too, http://hawkee.com/snippet/18676/, I like this one.
Posted By: maroon Re: Bracket Checker for Notepad++ - 08/04/18 06:35 PM
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
}
Posted By: jHoNDoE Re: Bracket Checker for Notepad++ - 08/04/18 06:45 PM
Sorry, not a programmer here, not sure what you really want me to test, hopefully a screenshot will do?

Posted By: maroon Re: Bracket Checker for Notepad++ - 08/04/18 07:06 PM
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.
© mIRC Discussion Forums