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". Range comments: in additional file data/lexlib/*.cuda-lexmap.Line comments: in lexer file data/lexlib/*.lcf.In dialog tab "Commenting" you'll see input fields.Ĭommand "Toggle stream comment" in plugin adds/removes comments of last 2 types: for range, for full lines (plugin chooses needed kind). PowerShell lexer supports comments for full lines, while don't support comments for any range.Ĭomment chars are editable in SynWrite editor, in dialog "Lexer properties" (after you install the same lexer to SynWrite). used in PowerShell.įor example, Python lexer supports only line comment, and don't support stream comments. Comments for full lines: from newline to another newline, ie comment for several whole lines.Comments for range ( Stream comments): from some text position to some bigger text position, often in the different line.in C lexer: "//text here", in Python lexer: "# text here". Line comments: from some position to the nearest end-of-line.Plugin supports only adding/removing of comments, not syntax highlighting for them (highlighting is lexer's work). It gives about 6 commands in menu "Plugins / Comments". You can add/remove code comments, via "Comments" plugin. 10.3 FiF3 and FiF4: comparison and future.10.1 How to find/replace in all UI-tabs.8.17 Tool to go to current file in FreeCommander.8.16 Tool to open folder of current file in Windows Explorer.8.13 Tool to open AutoIt documentation with given topic.8.12 Tool to open PHP documentation with given topic.8.11 Tool to preview HTML file in Chrome.8.5 Tool to run C program, on Linux, with input in terminal.8.4 Tool to run C program, on Windows, with input in terminal.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |