view:scope-separators

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

view:scope-separators [2018/01/10 19:42] – external edit 127.0.0.1view:scope-separators [2018/04/13 14:56] (current) admin
Line 1: Line 1:
 ====== 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 line like comments between blocks, but with help of HippoEDITyou 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 defaultthis done for following syntaxes: ABAP, Basic (and all sub syntaxes as Visual Basic Script), NSIS, Luaand 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}}