Command numbers 0 to 9 are assigned Ctrl+Number shortcuts. The command number can be in the range of 0 to 49. The initial '*' is not included in the command that is executed. If the text of a command starts with '*' then the Parameters dialog is displayed to prompt for parameters before executing the command. The notation used to specify keyboard shortcuts is the same as for the user.shortcuts property, described elsewhere in this document. For commands numbered higher than 9, there is no default keyboard shortcut. By default, commands 0 to 9 have keyboard shortcuts Ctrl+0 to Ctrl+9 respectively, but this can be overridden. The command.shortcut property allows you to specify a keyboard shortcut for the command. A command that uses the groupundo setting should not change which buffer is active in the editor. The groupundo setting works with subsystem 3 (lua / director), and indicates that SciTE should treat any changes made by the command as a single undo action. Subsystem - console, windows, shellexec, lua, director, winhelp, htmlhelpĬurrently, all of these except groupundo are based on individual properties with similar names, and so are not described separately here. Replaceselection - accepts yes, no, and auto Quiet - accepts keyword arguments yes and no The supported command.mode settings are:įilter - accepts keyword arguments yes and no Similarly, if a single setting appears more than once with different arguments, the last valid argument takes priority. If a setting is included in the command.mode but also appears as a separate command property, the mode property will be overridden. For most of these, the argument portion is optional if the setting name appears without an argument, this works the same as "setting:yes". Each mode setting can have an argument, separated from the setting name by a colon. The command.mode property is a comma-separated list of flags / settings. This may be useful in combination with command.input and. A value of 1 indicates that the command I/O should not be echoed to the output pane. However, please bear in mind that will send the output to whatever window is active when the command completes.Ī final command property that is currently supported only on windows is command.quiet. Note, commands run asynchronously, so you are not prevented from modifying the document or even switching buffers while a command is running. If the user cancels the command via "Tools / Stop Executing", the selection will not be replaced even in mode 1. 2 means replace the selection only if the command finishes with an exit code of 0. 1 means replace the selection when the command finishes. This property has three available settings: 0, the default, means do not replace the selection. The optional can be used to specify that the command output should replace the current selection (or be inserted at the cursor location, if there is no selection). The command.input property is only supported for subsystem 0 (command line programs). This may reference other properties for example, command.input.0.*.cc=$(CurrentSelection) would pipe the current selection to the command processes. On Windows, the optional command.input property specifies text that will be piped to the command. If it is set to 2, SciTE will not save the file, otherwise SciTE asks you. If is set to 1, SciTE automatically saves the file before execution. The optional command.is.filter property states that the command modifies the current file so it may need to be read in after performing the command if load.on.activate is set. The second line is the command string, similar to those of the compile, build, and go commands. The first line defines the string that will appear in the Tools menu (immediately below 'Go'). Command.0.*.cc=astyle -taO $(FileNameExt)
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |