Skip to content

Commit cefc472

Browse files
committed
doc replace
1 parent 05f1c70 commit cefc472

File tree

6 files changed

+31
-1
lines changed

6 files changed

+31
-1
lines changed

Doc/ChartDesignPanel.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
<a name="top-anchor"/>
2+
3+
| [Contents](../README.md#table-of-contents) | [SCXML Wiki](https://alexzhornyak.github.io/SCXML-tutorial/) | [Forum](https://github.com/alexzhornyak/ScxmlEditor-Tutorial/discussions) |
4+
|---|---|---|
5+
6+
# Chart Design Panel
7+
8+
## Replace
9+
Replace is performed in scope of selected shape
10+
11+
![img](../Images/chart_replace.png)
12+
13+
1. Select shape in the chart hierarchy from which to start replace
14+
> NOTE: if you want to replace text in all chart, select root shape
15+
16+
2. Press `Ctrl+R`
17+
18+
3. Fill fields in replace dialog and press `Replace` button
19+
![](../Images/chart_replace_dialog.png)
20+
21+
4. Select items that must be replaced and press `Reply` button
22+
![](../Images/chart_replace_refactor.png)
23+
24+
### Regex Replace Example
25+
Replace dialog has an option to switch replace with usage of regular expressions. In given example all transitions with the names `Transition_3`, `Transition_4` are swapped with regex groups to `3_Transition`, `4_Transition`, etc.
26+
27+
![](../Images/chart_replace_regex.png)
28+
29+
| [TOP](#top-anchor) | [Contents](../README.md#table-of-contents) | [SCXML Wiki](https://alexzhornyak.github.io/SCXML-tutorial/) | [Forum](https://github.com/alexzhornyak/ScxmlEditor-Tutorial/discussions) |
30+
|---|---|---|---|

Images/chart_replace.png

110 KB
Loading

Images/chart_replace_dialog.png

24.9 KB
Loading

Images/chart_replace_refactor.png

307 KB
Loading

Images/chart_replace_regex.png

168 KB
Loading

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ Current binaries are compiled with single development licensies registered by th
135135
- Side toolbar
136136
- Tool (bookmarks) panel
137137
- Shapes panel
138-
- Chart design panel
138+
- [Chart design panel](Doc/ChartDesignPanel.md)
139139
- States and children (Shapes)
140140
- [Transitions (Connections)](Doc/Transitions.md)
141141
- [Smart Switch Transitions](Doc/SmartSwitchTransitions.md)

0 commit comments

Comments
 (0)