purebasic
purebasic copied to clipboard
Cancel in one click
When replacing in the entire text and when inserting structures, it is necessary that the cancellation be one click
Line 194 in FindWindow.pb, replaced FindText(3) with
SendEditorMessage(#SCI_BEGINUNDOACTION, 0, 0)
FindText(3)
SendEditorMessage(#SCI_ENDUNDOACTION, 0, 0)
"StructureViewer.pb" - 32 kb. Find the #GADGET_StructureViewer_InsertStruct and #GADGET_StructureViewer_InsertCopy events. Before the block with calls to the InsertCodeString() functions add SendEditorMessage(#SCI_BEGINUNDOACTION, 0, 0), and after the block add SendEditorMessage(#SCI_ENDUNDOACTION, 0, 0)