Skip to content

Commit

Permalink
Closes #113, Fixes #114, Closes #115, Closes #116
Browse files Browse the repository at this point in the history
  • Loading branch information
alexzhornyak committed Jun 7, 2024
1 parent 8983c53 commit fc22d30
Show file tree
Hide file tree
Showing 13 changed files with 334 additions and 164 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

**[Video overview - v.2.2](https://youtu.be/30dyXAs-m1A)**

# Scxml Editor 2.5.3
# Scxml Editor 2.5.4
Powerful tool for creating, editing and debugging SCXML charts.

![MainExample](Images/Inheritance_TV_example.gif)
Expand All @@ -24,6 +24,7 @@ Powerful tool for creating, editing and debugging SCXML charts.
[![Discord](Images/Discord.svg)](https://discord.gg/5XWDsbEXzn)

### Changelog
**2.5.4:** Nested initial state indication <br>
**2.5.3:** Chart Draw Constraints, Select Chart Elements <br>
**2.5.1:** [Fast Triggers](Doc/DebugScxmlStateCharts.md#transition-triggers) <br>
**2.5:** [Virtual Invoke](Doc/VisualStateChartSplitting.md#virtual-invoke) <br>
Expand Down Expand Up @@ -51,7 +52,7 @@ Powerful tool for creating, editing and debugging SCXML charts.
## Installation
You can find portable version as attached Zip in ScxmlEditor Github Release page

Latest version: **[2.5.3.1759]**
Latest version: **[2.5.4.1768]**

### Windows Installation
#### First Install
Expand Down
4 changes: 2 additions & 2 deletions Src/ScxmlEditor.cbproj
Original file line number Diff line number Diff line change
Expand Up @@ -1015,13 +1015,13 @@
<VersionInfoKeys>
<VersionInfoKeys Name="CompanyName">[email protected]</VersionInfoKeys>
<VersionInfoKeys Name="FileDescription">Scxml State Charts Editor</VersionInfoKeys>
<VersionInfoKeys Name="FileVersion">2.5.3.1760</VersionInfoKeys>
<VersionInfoKeys Name="FileVersion">2.5.4.1768</VersionInfoKeys>
<VersionInfoKeys Name="InternalName"/>
<VersionInfoKeys Name="LegalCopyright">[email protected]</VersionInfoKeys>
<VersionInfoKeys Name="LegalTrademarks"/>
<VersionInfoKeys Name="OriginalFilename"/>
<VersionInfoKeys Name="ProductName">ScxmlEditor</VersionInfoKeys>
<VersionInfoKeys Name="ProductVersion">2.5.3.0</VersionInfoKeys>
<VersionInfoKeys Name="ProductVersion">2.5.4.0</VersionInfoKeys>
<VersionInfoKeys Name="Comments"/>
</VersionInfoKeys>
<Parameters>
Expand Down
Binary file modified Src/ScxmlEditor.res
Binary file not shown.
66 changes: 33 additions & 33 deletions Src/ScxmlEditor_resources.rc
Original file line number Diff line number Diff line change
@@ -1,40 +1,40 @@
PngFinalize RCData "Images\\finalize_16_16.png"
PngForeach RCData "Images\\foreach_16_16.png"
CompleteBasic RCData "complete_basic.lua"
PngDatamodel RCData "Images\\datamodel_16_16.png"
PngVirtualFolder RCData "Images\\virtual_folder_16_16.png"
PngIf RCData "Images\\if_16_16.png"
CompleteCPP RCData "complete_all_CPP.txt"
PngLog RCData "Images\\log_16_16.png"
PngError RCData "Images\\error_16.png"
PngWatch RCData "Images\\watch_16_16.png"
PngData RCData "Images\\data_16_16.png"
PngAssign RCData "Images\\assign_16_16.png"
PngParam RCData "Images\\param_16_16.png"
PngSessionState RCData "Images\\statemachine_16_16.png"
PngProtocol RCData "Images\\protocol_16_16.png"
PngTransitionXML RCData "Images\\XMLText_Transition_16.png"
CompletePython RCData "complete_all_python.txt"
CompleteDebug RCData "complete_debug.lua"
PngTrigger RCData "Images\\trigger_16_16.png"
ResLogProperties RCData "ScxmlEditor.properties"
PngScript RCData "Images\\script_16_16.png"
PngCancel RCData "Images\\cancel_16_16.png"
CompleteString RCData "complete_string.lua"
PngProtocolWeak RCData "Images\\protocol_weak_16_16.png"
PngSend RCData "Images\\send_16_16.png"
PngVirtualFolder RCData "Images\\virtual_folder_16_16.png"
PngComment RCData "Images\\comment_16_16.png"
PngRaise RCData "Images\\raise_16_16.png"
PngExtraContent RCData "Images\\extracontent_16_16.png"
CompleteTable RCData "complete_table.lua"
CompleteBasic RCData "complete_basic.lua"
PngDatamodel RCData "Images\\datamodel_16_16.png"
CompleteEcmascript RCData "complete_all_js.txt"
CompleteUtf8 RCData "complete_utf8.lua"
PngOnExit RCData "Images\\onexit_16_16.png"
PngDoneData RCData "Images\\donedata_16_16.png"
CompleteOs RCData "complete_os.lua"
PngInvoke RCData "Images\\invoke_16_16.png"
PngSetValue RCData "Images\\setvalue_16_16.png"
PngExtraContent RCData "Images\\extracontent_16_16.png"
CompleteTable RCData "complete_table.lua"
PngForeach RCData "Images\\foreach_16_16.png"
PngFinalize RCData "Images\\finalize_16_16.png"
PngOnEntry RCData "Images\\onenter_16_16.png"
PngContent RCData "Images\\content_16_16.png"
ResCurPan Cursor "Images\\PanningCursor.cur"
PngSetValue RCData "Images\\setvalue_16_16.png"
PngInvoke RCData "Images\\invoke_16_16.png"
CompleteMath RCData "complete_math.lua"
PngData RCData "Images\\data_16_16.png"
PngAssign RCData "Images\\assign_16_16.png"
PngProtocol RCData "Images\\protocol_16_16.png"
PngParam RCData "Images\\param_16_16.png"
PngSessionState RCData "Images\\statemachine_16_16.png"
CompleteCPP RCData "complete_all_CPP.txt"
PngIf RCData "Images\\if_16_16.png"
PngError RCData "Images\\error_16.png"
PngWatch RCData "Images\\watch_16_16.png"
PngLog RCData "Images\\log_16_16.png"
CompleteString RCData "complete_string.lua"
PngCancel RCData "Images\\cancel_16_16.png"
PngProtocolWeak RCData "Images\\protocol_weak_16_16.png"
ResLogProperties RCData "ScxmlEditor.properties"
PngScript RCData "Images\\script_16_16.png"
PngTrigger RCData "Images\\trigger_16_16.png"
PngTransitionXML RCData "Images\\XMLText_Transition_16.png"
CompleteDebug RCData "complete_debug.lua"
CompletePython RCData "complete_all_python.txt"
ResCurPan Cursor "Images\\PanningCursor.cur"
PngContent RCData "Images\\content_16_16.png"
PngDoneData RCData "Images\\donedata_16_16.png"
CompleteOs RCData "complete_os.lua"
PngOnExit RCData "Images\\onexit_16_16.png"
18 changes: 13 additions & 5 deletions Src/TreeEditor/TreeEditorEx.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -222,10 +222,14 @@ void __fastcall TTreeEditorEx::OnDectivateTreeEditor(TObject *Sender) {

// ---------------------------------------------------------------------------
void __fastcall TTreeEditorEx::DoInvalidateTrees() {
if (NodeTree && IsWindowVisible(NodeTree->Handle)) {
NodeTree->Invalidate();
try {
if (NodeTree && IsWindowVisible(NodeTree->Handle)) {
NodeTree->Invalidate();
}
DoInvalidateFocusedTheTree();
}
catch(Exception * e) {
}
DoInvalidateFocusedTheTree();
}

// ---------------------------------------------------------------------------
Expand Down Expand Up @@ -1119,8 +1123,12 @@ void __fastcall TTreeEditorEx::PopupNodePopup(System::TObject* Sender) {

// ---------------------------------------------------------------------------
void __fastcall TTreeEditorEx::DoInvalidateFocusedTheTree(void) {
if (TheTree && IsWindowVisible(TheTree->Handle) && TheTree->Focused()) {
this->InvalidateTheTreeWithTemp();
try {
if (TheTree && IsWindowVisible(TheTree->Handle) && TheTree->Focused()) {
this->InvalidateTheTreeWithTemp();
}
}
catch(Exception * E) {
}
}

Expand Down
Loading

0 comments on commit fc22d30

Please sign in to comment.