![]() ![]() calling of Find/Replace dialog, "Go to" dialog.some mouse actions (clicks/selections, they save/playback relative to caret position).built-in commands, plugin commands (invoked by hotkey, by menu, by Command Palette).Call menu item "Macros / Start/stop recording", or use dialog "Macros / Macros." which gives the button for this.It adds "Macros" menu to CudaText main menu bar. To use macros, you must install plugin "Macros" from Addon Manager. Macro is a sequence of CudaText actions, which can be saved to a file and invoked later by some command. With option on, block will be changed to: With option off, block will be changed it to: Here is selected block of code, selection is shown by square brackets, first selected line is blank line: With option on, command detects its action (to comment or to uncomment) by the first non-blank line of the selected multi-line block. "Toggle line comment" detects action by first non-blank line With option on, and the previous option "Move caret to next line" on, command will skip lines containing only space/tab chars. This allows to call the command many times repeatedly, to change many lines. With option on, caret will be moved 1 line down. With option off, block will be changed to:Īffects commands for line-comments, when they are called without selection. With option on, this selected block of lines in C++: "Toggle line comment, at non-space char".(Line "at non-space") If selected few lines, insert comment at maximal common indent Will be changed to line with 2 leading spaces:Īfter uncommenting, line will be restored to original, with 4 leading spaces. For example, with C++ (line comment chars "//"), line with 4 leading spaces: With option on, plugin tries to insert comment chars into leading space-area of the line. (Line commands) Try to keep text position after (un)commenting ![]() Plugin "Comments" has several options, and it gives the dialog to change them: menu item "Options / Settings-plugins / Comments / Config".
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |