Incredible, I am amazed by this titanic work, you are a good one too

Thanks a lot !
Neil, I don't reproduce this Polink error either.Neil wrote: Thu Nov 11, 2021 11:24 am So I have loaded PureBasic6 compiler
Now I get this error message
Code: Select all
PBEdit_SetGadgetText(editor, Chr(1) + "Procedure Test()" + Chr(10) + " ; example of a foleded textblock" + Chr(10) + "EndProcedure")
Code: Select all
OpenWindow(0, 0, 0, 500, 300, "Test")
CanvasGadget(0, 5, 5, 490, 100, #PB_Canvas_Keyboard|#PB_Canvas_Border)
EditorGadget(1, 5, 115, 490, 180, #PB_Editor_ReadOnly)
SetActiveGadget(0)
Repeat
Select WaitWindowEvent()
Case #PB_Event_CloseWindow
End
Case #PB_Event_Gadget
time.s = "[" + RSet(Str(ElapsedMilliseconds()),8,"0") + "]"
If EventType() = #PB_EventType_Input
AddGadgetItem(1, 0, time + " #PB_EventType_Input: " + Str(GetGadgetAttribute(0, #PB_Canvas_Input)))
ElseIf EventType() = #PB_EventType_KeyDown
AddGadgetItem(1, 0, time + " #PB_EventType_KeyDown: " + Str(GetGadgetAttribute(0, #PB_Canvas_Key)))
ElseIf EventType() = #PB_EventType_KeyUp
AddGadgetItem(1, 0, time + " #PB_EventType_KeyUp: " + Str(GetGadgetAttribute(0, #PB_Canvas_Key)))
EndIf
EndSelect
ForEver
Code: Select all
[00004861] #PB_EventType_KeyDown: 65293 <- Normal Return
[00004919] #PB_EventType_KeyUp: 65293
[00006620] #PB_EventType_KeyDown: 65421 <- NumPad Return
[00006683] #PB_EventType_KeyUp: 65421
Code: Select all
View_Delete(*te, *parent\child[0])
View_Delete(*te, *parent\child[1])
Hi, Danilo, thanks for testing!Danilo wrote: Wed May 11, 2022 7:46 am The editor crashes very often when using the right-click menu item "Unsplit View".