options:xml:view-offset

This is an old revision of the document!


View Offset

If you are in the text editor and come with the cursor to the upper or bottom line, the editor will automatically scroll up or down, to ensure that the cursor is visible. For navigating horizontally it works the same way. If you want to disable such behavior or increase number of extra lines visible before/after cursor you may use following XML flags, configured in settings.xml:

<Source_Editor>
   <TopYOffset>10</TopYOffset>
   <BottomYOffset>5</BottomYOffset>
   <LeftXOffset>2</LeftXOffset>
   <RightXOffset>2</RightXOffset>      
</Source_Editor>

Values are defined in lines. Default for all offsets is 1 line. If you do not maintain some of offsets, default values will be used.

#xml_option