You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A Scintilla SCNotification has a multitude of properties.
It is filled there:
FunctionOnSciNotify(widget:BytePtr, id:Int, notificationPtr:BytePtr, obj:Object)
Local ta:TGTKScintillaTextArea= TGTKScintillaTextArea(obj)
'FILLED HERE
bmx_mgta_scintilla_notifcation_update(ta.notification, notificationPtr)
Select ta.notification.code
Case SCN_UPDATEUI
If ta.notification.updated & SC_UPDATE_SELECTION Then
PostGuiEvent(EVENT_GADGETSELECT, TGadget(obj))
End IfCase SCN_MODIFIED
If ta.notification.modificationType & (SC_MOD_INSERTTEXT | SC_MOD_DELETETEXT) ThenIfNot ta.ignoreChange Then
PostGuiEvent(EVENT_GADGETSELECT, TGadget(obj))
PostGuiEvent(EVENT_GADGETACTION, TGadget(obj))
End If
ta.ignoreChange =False
bmx_mgta_scintilla_setlinedigits(ta.sciPtr, Varptr ta.lineDigits, ta.showLineNumbers)
End IfEnd SelectEnd Function
As you see it only passes 3 params: the code, the modificationtype and "updated".
With the new features of NG - could we just pass the whole struct or so?
For "legacy" one could append the desired other properties (eg. "text" - so you can check what was dropped to for example add URIs to the source code you currently are editing).
The text was updated successfully, but these errors were encountered:
I could extend it on my own...to eg pass "text".
Just thought it might be easier now with the struct-support in NG. Something in the likes of directly passing the struct or so.
Also I am not keen to extend the maxgui thing so much - for feature rich widgets we have wxmax (and so even external designer apps).
A Scintilla SCNotification has a multitude of properties.
It is filled there:
Which in the end calls this inbetween:
As you see it only passes 3 params: the code, the modificationtype and "updated".
With the new features of NG - could we just pass the whole struct or so?
For "legacy" one could append the desired other properties (eg. "text" - so you can check what was dropped to for example add URIs to the source code you currently are editing).
The text was updated successfully, but these errors were encountered: