-
-
Notifications
You must be signed in to change notification settings - Fork 45
Closed
Description
When the option to Indent statements inside entities is enabled, then after pressing Enter on a function, method etc, the caret is moved one tab to the right, which is correct. But the same happens also for GLOBALs, DEFINEs and ivars, in which case it shouldn't
For example, type enter after any of the one-line entities below, that caret is moved one tab to the right. Then after typing something with this wrong indentation, pressing enter on the new code does bring the indentation back again to its correct position
global g1 as int
global g2 as int
CLASS TestClass
EXPORT ex as int
export ex2 as int
END CLASS
btw, just noticed that the problem with DEFINEs also exists in XIDE