This shows you the differences between two versions of the page.
| |
| view:scope-separators [2018/01/10 19:42] – external edit 127.0.0.1 | view:scope-separators [2018/04/13 14:56] (current) – admin |
|---|
| ====== Scope separators ====== | ====== Scope separators ====== |
| |
| If this [[options:syntax:display|option enabled for syntax]], the editor shows horizontal divider after specific scope area (function or sub routine for example) in text. Such divider can be useful to visually divide area belonging to one function/method from area of another function method. Often this is done by manually entering line like comments between blocks, but with help of HippoEDIT you can get it automatically. | If this [[options:syntax:display|option enabled for syntax]], the editor shows horizontal divider after specific scope area (function or subroutine for example) in text. Such divider can be used to visually divide area belonging to one function/method from area of another function method. Often this is done by manually entering a line like comments between blocks, but with help of HippoEDIT, you can get it automatically. |
| |
| To enable this for the syntax, it is not enough to only enable this option on [[options:syntax:display|Display]] page of syntax, you should also have some scopes marked with //Scope separator// attribute in [[syntax:scopes:pair-scope|syntax schema]]. By default this done for following syntaxes: ABAP, Basic (and all sub syntaxes as Visual Basic Script), NSIS, Lua and Euphoria. | To enable this for the syntax, it is not enough to only enable this option on [[options:syntax:display|Display]] page of syntax, you should also have some scopes marked with //Scope separator// attribute in [[syntax:scopes:pair-scope|syntax schema]]. By default, this done for following syntaxes: ABAP, Basic (and all sub syntaxes as Visual Basic Script), NSIS, Lua, and Euphoria. |
| |
| {{:view:scope-separators.png?direct|Scope separators between Subroutines in Visual Basic Script example}} | {{:view:scope-separators.png?direct|Scope separators between Subroutines in Visual Basic Script example}} |