Other Enhancements

Other Enhancements

Source Editor Other Enhancements contain Clipboard Operations, Keyboard Extend and Auto Indent features. The settings dialog shows as below:

Clipboard Operations

- Cut / Copy Token under Cursor when NO Selection: Enable or disable smart cutting/copying. If enabled, when the selection is empty, pressing Ctrl+C/Ctrl+X will copy/cut current token under the cursor.

- Smart Paste: Whether auto align the pasting contents when pressing Ctrl+V and NO selection in editor.

  Replace Token under Cursor when Pasting: If enabled, when the selection is empty, pressing Ctrl+V will replace current token under the cursor.

Code Preview Window

- Show Preview Hint Window when Cursor on Vertical ScrollBar.: Whether allow popup Code Preview Window when curosr moves into the vertical scrollbar area in Code Editor.

Keyboard Extend

- Tab/Shift+Tab to Indent/Unindent Selected Block.: Whether indent/unindent selected code block if Tab/Shift+Tab pressed.

- Use Shift+Enter to Move to Line End Before Enter: Whether use Shift+Enter to move to line end and enter a linefeed when cursor is not in line end.

- Rename and Replace Identifier under Cursor: Wether rename current identifier under cursor when pressing this shortcut. If allowed, a dialog will popup to let user enter a new identifier and select replace range, and press OK to replace in selected range. The default shortcut is F2.

- F3/Shift+F3 to Search Selected Text: Wether search selected text forwards/backwards in editor when pressing F3/Shift+F3.

- Let IDE Remember F3/Shift+F3 Search Text: Wether let IDE remember selected search text after pressing F3/Shift+F3 to search selected text. If not, IDE will search previous text in search dialog if F3/Shift+F3 is pressed and no selection in current editor.

- Auto Input Matched Bracket and Quote (), [], {}, '', "": When checked, ) ] } and ' "" will auto appear after enter ( [ { and ' "" in IDE source editor. Cursor stays between two brackets or quote.

- Extend Home to Move Between Line Head and First No-Whitespace: Whether moves cursor between line head and first No-Whitespace position when pressing Home key.

- Move to First No-Whitespace if not in Line Head: Whether moves cursor to the first No-Whitespace position when first pressing Home key.

- Keep Cursor Before End of Line: If checked, Do not allow cursor to exceed End of Line for non-empty line.

- Wrap Cursor when Press Left at Line Head.: Move cursor to previous line end when press Left arrow key at line head.

- Wrap Cursor when Press Right at Line End.: Move cursor to next line head when press Right arrow key at line end.

- Put to Line End when Enter ";" in Source Code: When cursor is in source code, not in string or comment, if a semicolon is entered, whether to put it to the end of line automatically.

- Auto Add "end" when Pressing Enter after "begin": When cursor is after "begin", if enter pressed, whether to add matched "end" to it and move cursor back to blank line and indent.

Auto Indent

If enable this feature, when pressing Enter after { in C/C++ source or after keyword that in special list in Delphi, add indent in new line.

Links

Editor Enhancements Wizard

About CnWizards

Copyrights 2001-2025 CnPack Team