POSSIBLE BRACE ERROR DETECTION ISSUE

Report issues, odd behaviors or submit a detailed bug report.
Post Reply
tim_crouse
Posts: 60
Joined: 12 Apr 2024 00:22

POSSIBLE BRACE ERROR DETECTION ISSUE

Post by tim_crouse »

Not knowing the design intent it's hard for me to say if this is a bug or the desired mod of operation:

Place a brace at the beginning of the formula

The brace appears normal, with no red flag

Place cursor at end of the formula, no brace error detected

Tap Return, brace error appears.

Why is a return character required to detect the brace error? I understand the flow here, but shouldn't the brace error appear and be present until the closing brace has been applied to the formula?

Best Regards
-Tim C.
NO BRACE ERROR DETECTED.png
NO BRACE ERROR DETECTED.png (174.86 KiB) Viewed 235 times
BRACE ERROR DETECTED AFTER NEXT LINE ADDED.png
BRACE ERROR DETECTED AFTER NEXT LINE ADDED.png (178.37 KiB) Viewed 235 times
User avatar
Rickard Johansson
Site Admin
Posts: 6630
Joined: 19 Jul 2006 14:29

Re: POSSIBLE BRACE ERROR DETECTION ISSUE

Post by Rickard Johansson »

Only the closest braces are highlighted. If you're inside ( | ) only the left and right braces are highlighted. The same if the cursor is to the right of the closing brace, e.g. ( ... )|

So you need to add a character, space or Return for the parent braces to become highlighted.

(( ... )*|
Post Reply