The Editor preferences page allows you to configure smart caret positioning
behavior in the editor. Smart caret positioning determines where the cursor
will jump to when certain positioning keys (e.g. Home / End) are pressed.
Preferences page is accessed from Window | Preferences | PHP | Editor
To configure Smart Caret Positioning
the required checkboxes to configure the following options:
Smart caret positioning at line start and end - If this
checkbox is unmarked, the cursor will jump to the beginning/end
of a line when Home/End are pressed. If it is marked, the
cursor will jump to the beginning/end of the typed
line (i.e. ignoring the tabs at the beginning/end of a line).
Smart caret positioning in PHP names - If this checkbox
is marked, the cursor will jump to the beginning/end of a
'word' within a PHP element (class / function / variable)
when Ctrl + left arrow/right arrow are pressed. When unmarked,
it will jump to the beginning/end of the whole element.
Click Apply to
apply your settings.
More editor settings can be accessed by clicking
the "Text Editors" link.