New Flag(s) for EditorGadget()
Posted: Mon Jul 25, 2022 3:47 pm
My requested new Flags to modify the gadget behavior. (maybe a windows only feature)
Today we can / have to do the following. (example line is from another thread)
The following constants would complement the existing ones well.
Thanks in advance for looking at this and thinking about it.
Today we can / have to do the following. (example line is from another thread)
Code: Select all
; SendMessage_(hwndDebugOutput, #EM_SETTEXTMODE, #TM_PLAINTEXT, 0)
Code: Select all
; #PB_Editor_ReadOnly ; = $00000800 => set the Read-only state (zero means editable, nonzero means Read-only).
; #PB_Editor_WordWrap ; = $10000000 => set the word-wrap state
;
; #PB_Editor_PlainText ; = $ <NEW VALUE> => set the PlainText-only state
; #PB_Editor_RichText ; = $ <NEW VALUE> => set the RichText state (default)