mirror of
https://github.com/EiffelSoftware/eiffel-org.git
synced 2026-02-28 11:50:57 +01:00
Added release 19.05.
git-svn-id: https://svn.eiffel.com/eiffel-org/trunk@2152 abb3cda0-5349-4a8f-a601-0c33ac3a8c38
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
[[Property:title|Comment and uncomment lines]]
|
||||
[[Property:weight|1]]
|
||||
[[Property:uuid|34aba497-1b5b-4dcc-f227-81dd9dbbc923]]
|
||||
EiffelStudio editor offers the possibility to comment or uncomment several lines at a time.
|
||||
|
||||
* The "Comment" command corresponds to the '''Comment''' entry in the '''Advanced''' sub-menu of the [[Edit menu commands| '''Edit''' Menu ]]. It may be called by using the keyboard shortcut "Ctrl+K". Its action is to insert two dashes in front of each [[Selection|selected]] line.
|
||||
|
||||
* The "Uncomment" command corresponds to the '''Uncomment''' entry in the '''Advanced''' submenu of the [[Edit menu commands| '''Edit''' Menu ]]. It may be called by using the keyboard shortcut "Ctrl+Shift+K". Its action is to remove the two dashes in front of each [[Selection|selected]] line if there are such characters. <br/>
|
||||
|
||||
|
||||
|
||||
{{note|If there is no selection, these commands will be applied to the current line. }}
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,14 @@
|
||||
[[Property:title|Embed lines in 'if then...end' or in 'debug...end']]
|
||||
[[Property:weight|3]]
|
||||
[[Property:uuid|c8024b95-376b-628f-1c13-c7fa279006e5]]
|
||||
=Embed lines in "if then...end" or in "debug...end"=
|
||||
|
||||
EiffelStudio editor offers the possibility to embed several lines in "if then...end" or in "debug...end" structures.
|
||||
* The first command corresponds to the '''Embed in if''' entry in the '''Advanced''' submenu of the [[Edit menu commands]] [[Edit menu commands| Menu]] . It may be called by using the keyboard shortcut "Ctrl+I" too. Its action is to insert a line with "if then" before the [[Selection|selected]] lines and a line with "end" after those lines. The lines will be indented and the cursor positioned between "if" and "then".
|
||||
* The second command corresponds to the '''Embed in debug''' entry in the '''Advanced''' submenu of the [[Edit menu commands]] [[Edit menu commands| Menu]] . It may be called by using the keyboard shortcut "Ctrl+D" too. Its action is to insert a line with "debug" before the [[Selection|selected]] lines and a line with "end" after those lines. The lines will be indented and the cursor positioned after "debug" and "then".
|
||||
|
||||
{{note|If there is no selection, these commands will be applied to the current line. }}
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,16 @@
|
||||
[[Property:title|Indent and unindent selection]]
|
||||
[[Property:weight|2]]
|
||||
[[Property:uuid|e0c1014b-1564-8225-9371-556e714848b0]]
|
||||
EiffelStudio editor offers the possibility to indent or unindent selected lines.
|
||||
|
||||
* The "Indent" command corresponds to the '''Indent selection''' entry in the '''Advanced''' sub menu of the [[Edit menu commands| '''Edit''' Menu ]]. It may be called by using the keyboard shortcut "Tab". Its action is to insert a tabulation in front of each [[Selection|selected]] line.
|
||||
|
||||
* The "Unindent" command corresponds to the '''Unindent selection''' entry in the '''Advanced''' sub menu of the [[Edit menu commands| '''Edit''' Menu ]]. It may be called by using the keyboard shortcut "Shift+Tab". Its action is to remove the tabulation in front of each [[Selection|selected]] line if there is such a character. <br/>
|
||||
|
||||
|
||||
|
||||
{{note|If there is no selection, you may still use the unindent shortcut "Shift+Tab". The command will be applied to the current line. }}
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,9 @@
|
||||
[[Property:title|Operations on text blocks]]
|
||||
[[Property:weight|7]]
|
||||
[[Property:uuid|b8fccb5b-a3b4-ba11-0781-aa63cef5028e]]
|
||||
Editing the text of classes sometimes implies highly repetitive tasks, such as commenting or indenting several lines at the same time.
|
||||
|
||||
The commands of the editor of EiffelStudio should allow the user to perform these tasks faster and more easily. In addition to text block [[Comment and uncomment lines|commenting]] and [[Indent and unindent selection|indenting]], EiffelStudio editor makes it possible with one click to [[Embed lines in 'if then...end' or in 'debug...end'|embed]] several lines of code in "if ... then ... end" or "debug ... end" structures.
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user