purebasic icon indicating copy to clipboard operation
purebasic copied to clipboard

Cancel in one click

Open azjio opened this issue 3 years ago • 0 comments

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)

azjio avatar Dec 08 '22 14:12 azjio