Author:halw

Date:2009-10-16T00:22:55.000000Z


git-svn-id: https://svn.eiffel.com/eiffel-org/trunk@329 abb3cda0-5349-4a8f-a601-0c33ac3a8c38
This commit is contained in:
halw
2009-10-16 00:22:55 +00:00
parent 68d5a5efad
commit 0b1f5579c2
7 changed files with 35 additions and 7 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

View File

@@ -0,0 +1,3 @@
title=Outputs tool 02
author=halw
path=content/outputs-tool-02

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

View File

@@ -0,0 +1,3 @@
title=Outputs tool 01
author=halw
path=content/outputs-tool-01

View File

@@ -26,11 +26,13 @@ On the '''search tab''' of the search panel (shown in Fig. 1), you will find two
Also in the Search tab, there are buttons that control whether you want to '''search''', to '''replace''' the most recently found match, or '''replace all''' matches.
====Using "search capture"====
====Using sub-patterns and back references====
If you are searching using '''regular expressions''' (see [[#The options group|The options group]] below), you can use '''search capture'''. This allows you to place patterns that satisfied certain parts of the search into the replacement. In the '''Search for:''' combo box, enclose in parentheses any parts of the search that you want to capture for use in the replacement. Then, in the '''Replace with:''' combo box, you can reference each capture by its index enclosed in backslashes.
If you are searching using '''regular expressions''' (see [[#The options group|The options group]] below), you can use '''sub-patterns''' in your search pattern. This allows you to capture the portion of a "match" that satisfies a sub-pattern the search. Then, in the replacement, you can make a '''back reference''' to that captured part of the match. You can create more than one sub-pattern in any search pattern.
For example, assume that the text you are searching contains the following:
To create a sub-pattern, in the '''Search for:''' combo box, enclose in parentheses any parts of the search that you want to capture for use in the replacement. Then, in the '''Replace with:''' combo box, you can back reference each capture by its index enclosed in backslashes. The following example should help make this clear.
Assume that the text you are searching contains the following:
<code>
-- The dog is chasing the cat
</code>
@@ -84,7 +86,7 @@ If you choose '''Custom''', both the '''Only compiled classes''' check box and t
Fig. 3 Search Report panel
The search report panel will be visible whenever your search returns matches on multiple classes. The '''collapsed''' view of the search results shows the class name of classes in which matches were found, and the number of matches. When you '''expand''' and entry, you see the line number at which the match occurs, and the exact string that caused the match. If you have used [[#Using "search capture"|'''search capture''']], then the captures for each match will also be shown in the search report panel when the entries are completely expanded.
The search report panel will be visible whenever your search returns matches on multiple classes. The '''collapsed''' view of the search results shows the class name of classes in which matches were found, and the number of matches. When you '''expand''' and entry, you see the line number at which the match occurs, and the exact string that caused the match. If you have used [[#Using sub-patterns and back references|'''sub-patterns''']] in your search, then the captures for each sub-pattern will also be shown in the search report panel when the entries are completely expanded.
The items in the search report panel can be [[Pick-and-drop mechanism|picked and dropped]] into the editor or other appropriate targets in EiffelStudio.

View File

@@ -1,8 +1,7 @@
[[Property:title|C Output tool]]
[[Property:link_title|External compilation pane]]
[[Property:title|External compilation pane]]
[[Property:weight|3]]
[[Property:uuid|26525412-e8e5-8b1c-1074-58e00aed4c76]]
The C Output tool is where C compilation output is shown.
The external compilation pane is where C compilation output is shown.
[[Image:coutput1|C output tool]]

View File

@@ -0,0 +1,21 @@
[[Property:title|Outputs tool]]
[[Property:weight|-3]]
[[Property:uuid|4f35254c-9a22-7773-21ed-aa740c3eddd5]]
{{underconstruction}}
[[Image:Outputs tool 01]]
Several EiffelStudio facilities log their progress to the various panes of the '''outputs tool'''.
You can view the outputs from different facilities by selecting the name of a pane from the '''Output:''' combo box, as shown below.
[[Image:Outputs tool 02]]
The following pages describe the various output panes.