Project

General

Profile

Bug #28

Matching braces appears to try and match over multiple lines

Added by Wil van Antwerpen about 4 years ago. Updated about 4 years ago.

Status:
Resolved
Priority:
Normal
Category:
-
Start date:
03/27/2017
Due date:
% Done:

0%


Description

In previous version it highlighted unmatched braces in red.
Here's an example where it highlights some irrelevant braces (just added one extra closing brace).

See attached screenshot.

WrongBadBrace.png View - example screenshot of not working bad brace match (53.3 KB) Wil van Antwerpen, 03/27/2017 12:15 AM

History

#1 Updated by Wil van Antwerpen about 4 years ago

  • Status changed from New to Resolved

Added checks now so that when scintilla finds a match that is on another line that it will flag that match as invalid.
Unless the code between the lines ends on a ";" character.

Eg.
Nove Valid:

Move (trim(a+x)) to z
Move (abc)) to d

but this is OK

Move (trim(a+x) + ;
def)

Also available in: Atom PDF