Class Index | File Index

Classes


Class orion.editor.TextViewShowOptions

This object describes the selection show options.

See:
orion.editor.TextView#setSelection orion.editor.TextView#setCaretOffset orion.editor.TextView#showSelection


Defined in: </jobs/genie.orion/orion-client-stable/workspace/bundles/org.eclipse.orion.client.editor/web/orion/editor/textView.js>.

Class Summary
Constructor Attributes Constructor Name and Description
 
Field Summary
Field Attributes Field Name and Description
 
the scroll policy.
 
the selection anchor.
 
the view anchor.
 
an offset from the view anchor.
Class Detail
orion.editor.TextViewShowOptions()
Field Detail
{String} scrollPolicy
the scroll policy. The scroll policy can be one of these values:


{String} selectionAnchor
the selection anchor. The seleciton anchor can be one of these values:

Default Value:
caret

{String} viewAnchor
the view anchor. The view anchor can be one of these values:


{Number} viewAnchorOffset
an offset from the view anchor. The offset is a percentage of the client area height and it is clamped to [0-1] range.
Default Value:
0

Documentation generated by JsDoc Toolkit 2.4.0 on Tue Apr 04 2017 10:51:56 GMT-0400 (EDT)