New Flag(s) for EditorGadget()

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
Axolotl
Enthusiast
Enthusiast
Posts: 432
Joined: Wed Dec 31, 2008 3:36 pm

New Flag(s) for EditorGadget()

Post by Axolotl »

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)

Code: Select all

; SendMessage_(hwndDebugOutput, #EM_SETTEXTMODE, #TM_PLAINTEXT, 0) 
The following constants would complement the existing ones well.

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) 
Thanks in advance for looking at this and thinking about it.
Mostly running PureBasic <latest stable version and current alpha/beta> (x64) on Windows 11 Home