-aggiunto svg per script

-sistemato dizionario
-sistemato rimozione del testo su invio
This commit is contained in:
Demetrio Cassarino
2025-02-19 16:52:54 +01:00
parent 93e1651af4
commit 862ee938c3
6 changed files with 85 additions and 13 deletions
+11 -2
View File
@@ -1,4 +1,6 @@
Public Class ScriptWindowV
Imports System.Text.RegularExpressions
Public Class ScriptWindowV
#Region "CONSTRUCTOR"
@@ -22,13 +24,20 @@
End Sub
Private Sub sNameFile_RichTxBx_TextChanged(sender As Object, e As TextChangedEventArgs)
If Not IsNothing(Map.refScriptWindowVM) Then Map.refScriptWindowVM.m_bTextHasChanged = True
sNameFile_RichTxBx.Selection.ApplyPropertyValue(TextElement.ForegroundProperty, Brushes.Purple)
End Sub
Private Sub sNameFile_RichTxBx_SelectionChanged(sender As Object, e As RoutedEventArgs)
If Not IsNothing(Map.refScriptWindowVM) Then Map.refScriptWindowVM.SetToolbar()
End Sub
Private Sub sNameFile_RichTxBx_PreviewKeyDown(sender As Object, e As KeyEventArgs)
If e.Key = Key.Enter Then
Map.refScriptWindowVM.InsertText(sNameFile_RichTxBx, vbCrLf)
e.Handled = True
End If
End Sub
#End Region ' Events
End Class