Editing<\/span><\/p>\n\r",
hmBody:" <\/p>\n\r The Editing<\/span> tab allows you to configure which editor Coverage Validator will use for editing source code.<\/p>\n\r <\/p>\n\r The default settings are shown below:<\/p>\n\r <\/p>\n\r <\/p>\n\r <\/p>\n\r <\/p>\n\r From the Tools menu, or any of the data views in the main tabs, you can right click to edit the source code.<\/p>\n\r <\/p>\n\r By default, source code is opened in a provided source code editor<\/a> using syntax colouring, but you can change where you edit code via the drop-down list:<\/p>\n\r <\/p>\n\r <\/p>\n\r <\/p>\n\r When choosing one of the editors listed, you can request a currently open instance (e.g. the same one you are using to develop your application), or to open a new instance. <\/p>\n\r <\/p>\n\r SCiTE<\/a> is included in the list of editors, but there are many text editors that can be used for source code on windows. Wikipedia has a comparison<\/a> of editors including their programming feature support<\/a><\/p>\n\r <\/p>\n\r <\/p>\n\r We\'ve all got our favourite editors! To use yours: <\/p>\n\r <\/p>\n\r •<\/span>Select User defined editor<\/span> from the list of options enables the fields below <\/span><\/p> <\/p>\n\r •<\/span>Enter the Editor path and filename <\/span>or just Browse <\/span> choose the executable for your preferred editor<\/p> <\/p>\n\r <\/p>\n\r <\/p>\n\r Now when you want to edit source code, that editor will be opened, but typically you\'ll need to specify some command line arguments with which to start the editor.<\/p>\n\r <\/p>\n\r <\/p>\n\r <\/p>\n\r By default, just the file name is passed as a command line argument to the editor.<\/p>\n\r <\/p>\n\r Depending on the editor, you may need to tailor the arguments, for example if you want the file scrolled to a particular line.<\/p>\n\r <\/p>\n\r The arguments can be specified by adding them to the table provided, one at a time and in the order required<\/p>\n\r <\/p>\n\r •<\/span>Add<\/span> adds a row to the Editor arguments <\/span>table select an argument Type<\/span> from the following options<\/p> <\/p>\n\r <\/p>\n\r <\/p>\n\r The possible arguments include:<\/p>\n\r <\/p>\n\r •<\/span>(Space) Filename<\/span> appends a space followed by the filename <\/span><\/p> •<\/span>Filename<\/span> appends just the filename •<\/span>(Space) Line Number<\/span> a space followed by the line number<\/p> •<\/span>Line Number<\/span> just the line number •<\/span>Space<\/span> a space •<\/span>(Space) Other <\/span> a space followed by the text typed in the Value<\/span> column of the list<\/p> •<\/span>Other<\/span> just the text typed in the Value<\/span> column of the list<\/p> <\/span><\/p>\n\r Only the Other<\/span> options need an entry in the Value column.<\/p>\n\r You will need to press Return<\/span> after entering the value otherwise the entry won\'t get recognized.<\/p>\n\r <\/p>\n\r <\/p>\n\r The example below configures NotePad++ to edit a file at the required line using the -n switch<\/p>\n\r <\/p>\n\r <\/p>\n\r <\/p>\n\r As you modify the arguments an example command line is shown below the list.<\/p>\n\r <\/p>\n\r <\/p>\n\r <\/p>\n\r Edit a Type<\/span> or Value<\/span> by double clicking the entry. The usual controls apply for removing list items:<\/p>\n\r <\/p>\n\r •<\/span>Remove<\/span> removes selected arguments in the list<\/p> <\/span><\/p>\n\r •<\/span>Remove All<\/span> removes all arguments, clearing the list Alternatively, press to delete selected items, and <\/span>+ to select all items in the list first.<\/p>\n\r <\/p>\n\r <\/p>\n\r Reset All - <\/span>Resets all<\/span> global settings, not just those on the current page.<\/p>\n\r <\/p>\n\r <\/p>\n\r Reset - <\/span>Resets the settings on the current page.<\/p>\n\r <\/p>\n\r"
})
Editing source code<\/span><\/h1>\n\r
<\/span><\/h1>\n\r
<\/span><\/h1>\n\r
Editing with your preferred editor<\/span><\/h1>\n\r
Starting your preferred editor with command line arguments<\/span><\/h1>\n\r
\n\r <\/p>
\n\r <\/p>
\n\r <\/p>Managing the command line arguments<\/span><\/h1>\n\r
\n\r <\/p>