Author:halw

Date:2009-01-27T01:57:16.000000Z


git-svn-id: https://svn.eiffel.com/eiffel-org/trunk@171 abb3cda0-5349-4a8f-a601-0c33ac3a8c38
This commit is contained in:
halw
2009-01-27 01:57:16 +00:00
parent 2bccdbc34d
commit 03d0037bb7
10 changed files with 191 additions and 107 deletions

View File

@@ -31,32 +31,54 @@ Buffer is a way to refer to text of a class, a feature or text/selected text in
* {<eiffel>SOME_CLASS</eiffel>}.<eiffel>some_feature</eiffel> represents text of <eiffel>some_feature</eiffel> from <eiffel>SOME_CLASS</eiffel>
For example, if you run the command:
{{sample| gvim {<eiffel>ANY</eiffel>} }}
The text of class <eiffel>ANY</eiffel> will be displayed in a gvim window.
<code lang=text>
gvim {ANY}</code>
then the text of class <eiffel>ANY</eiffel> will be displayed in a gvim window.
If you run the command:
{{sample| gvim @{<eiffel>ANY</eiffel>} }}
And if class <eiffel>ANY</eiffel> is opened in an editor tab and some text is selected there, the selected text will be displayed in a gvim window.
<code lang=text>
gvim @{ANY}</code>
and if class <eiffel>ANY</eiffel> is opened in an editor tab and some text is selected there, the selected text will be displayed in a gvim window.
If you run the command:
{{sample| gvim @{<eiffel>ANY</eiffel>}.<eiffel>is_equal</eiffel> }}
The text of feature <eiffel>is_equal</eiffel> from class <eiffel>ANY</eiffel> will be displayed in a gvim window.
<code lang=text>
gvim @{ANY}.is_equal</code>
then the text of feature <eiffel>is_equal</eiffel> from class <eiffel>ANY</eiffel> will be displayed in a gvim window.
If you run the command:
{{sample| gvim -d {<eiffel>ANY</eiffel>}.<eiffel>is_equal</eiffel> {<eiffel>APPLICATION</eiffel>}.<eiffel>is_equal</eiffel> }}
A gvim windows in diff mode will be opened showing the difference between <eiffel>ANY</eiffel>.<eiffel>is_equal</eiffel> and <eiffel>APPLICATION</eiffel>.<eiffel>is_equal</eiffel>.
<code lang=text>
gvim -d {ANY}.is_equal {APPLICATION}.is_equal</code>
then a gvim window in diff mode will be opened showing the difference between <eiffel>ANY</eiffel>.<eiffel>is_equal</eiffel> and <eiffel>APPLICATION</eiffel>.<eiffel>is_equal</eiffel>.
The text used in buffer is stored in a temporary file so whatever change done to that text won't affect the text used in EiffelStudio.
==Auto-completion==
The command area supports auto-completion. You can auto-complete placeholder, class name and feature name, shown in the following pictures:
Auto-complete placeholder: [[Image:console-auto1|Auto-complete placeholder]]
Auto-complete placeholder:
[[Image:console-auto1|Auto-complete placeholder]]
Auto-complete class name:
[[Image:console-auto2|Auto-complete class name]]
Auto-complete feature name:
[[Image:console-auto3|Auto-complete feature name]]
Auto-complete class name: [[Image:console-auto2|Auto-complete class name]]
Auto-complete feature name: [[Image:console-auto3|Auto-complete feature name]]
==Pick and drop==