From 6a9198f9a258b56da8cf51d2829e3eedc4508759 Mon Sep 17 00:00:00 2001 From: dmcoles Date: Tue, 9 Jul 2024 09:54:33 +0100 Subject: [PATCH] fix up incorrect reaction texteditor tag values --- modules/gadgets/texteditor.e | 137 ++++++++++++++++++----------------- 1 file changed, 69 insertions(+), 68 deletions(-) diff --git a/modules/gadgets/texteditor.e b/modules/gadgets/texteditor.e index 6a53869..12ba348 100644 --- a/modules/gadgets/texteditor.e +++ b/modules/gadgets/texteditor.e @@ -118,74 +118,75 @@ OBJECT leftbarmousemessage timestamp:timeval ENDOBJECT - CONST TEXTEDITOR_DUMMY=$85026000, - GA_TEXTEDITOR_CONTENTS=$85026002, - GA_TEXTEDITOR_CURSORX=$85026004, - GA_TEXTEDITOR_CURSORY=$85026005, - GA_TEXTEDITOR_DOUBLECLICKHOOK=$85026006, - GA_TEXTEDITOR_EXPORTHOOK=$85026008, - GA_TEXTEDITOR_EXPORTWRAP=$85026009, - GA_TEXTEDITOR_FIXEDFONT=$8502600A, - GA_TEXTEDITOR_FLOW=$8502600B, - GA_TEXTEDITOR_HASCHANGED=$8502600C, - GA_TEXTEDITOR_IMPORTHOOK=$8502600E, - GA_TEXTEDITOR_IMPORTWRAP=$85026010, - GA_TEXTEDITOR_INSERTMODE=$8502600F, - GA_TEXTEDITOR_KEYBINDINGS=$85026011, - GA_TEXTEDITOR_NUMLOCK=$85026018, - GA_TEXTEDITOR_POPWINDOW_OPEN=$85026003, - GA_TEXTEDITOR_AREAMARKED=$85026014, - GA_TEXTEDITOR_PROP_DELTAFACTOR=$8502600D, - GA_TEXTEDITOR_PROP_ENTRIES=$85026015, - GA_TEXTEDITOR_PROP_FIRST=$85026020, - GA_TEXTEDITOR_PROP_RELEASE=$85026001, - GA_TEXTEDITOR_PROP_VISIBLE=$85026016, - GA_TEXTEDITOR_QUIET=$85026017, - GA_TEXTEDITOR_READONLY=$85026019, - GA_TEXTEDITOR_REDOAVAILABLE=$85026013, - GA_TEXTEDITOR_SEPARATOR=$8502602C, - GA_TEXTEDITOR_HORIZONTALSCROLL=$8502602D, - GA_TEXTEDITOR_PEN=$8502602E, - GA_TEXTEDITOR_COLORMAP=$8502602F, - GA_TEXTEDITOR_STYLEBOLD=$8502601C, - GA_TEXTEDITOR_STYLEITALIC=$8502601D, - GA_TEXTEDITOR_STYLEUNDERLINE=$8502601E, - GA_TEXTEDITOR_TYPEANDSPELL=$85026007, - GA_TEXTEDITOR_UNDOAVAILABLE=$85026012, - GA_TEXTEDITOR_WRAPBORDER=$85026021, - GA_TEXTEDITOR_HPROP_DELTAFACTOR=$85026030, - GA_TEXTEDITOR_HPROP_ENTRIES=$85026031, - GA_TEXTEDITOR_HPROP_FIRST=$85026032, - GA_TEXTEDITOR_HPROP_VISIBLE=$85026033, - GA_TEXTEDITOR_EXITHELP=$85026034, - GA_TEXTEDITOR_TABSIZE=$85026035, - GA_TEXTEDITOR_SPACESPERTAB=$85026035, - GA_TEXTEDITOR_INDENTWIDTH=$85026036, - GA_TEXTEDITOR_HIGHLIGHTERHOOK=$85026037, - GA_TEXTEDITOR_SHOWLINENUMBERS=$85026038, - GA_TEXTEDITOR_LEFTBARHOOK=$85026039, - GA_TEXTEDITOR_RECTANGULARSELECTIONS=$8502603A, - GA_TEXTEDITOR_AUTOINDENT=$8502603B, ->same name but different value to OS4 - GA_TEXTEDITOR_ERRORCODE=$85026036, -> OS4ONLY - GA_TEXTEDITOR_KEYMAP=$85026037, -> OS4ONLY - GA_TEXTEDITOR_CURSORBLINKSPEED=$85026038, -> OS4ONLY - ->GA_TEXTEDITOR_AUTOINDENT=$85026039, -> OS4ONLY - GA_TEXTEDITOR_LENGTH=$8502603A, -> OS4ONLY - GA_TEXTEDITOR_CUTCOPYLINEWHENNOSELECTION=$8502603C, - GA_TEXTEDITOR_LINEENDINGIMPORTED=$8502603D, - GA_TEXTEDITOR_LINEENDINGEXPORT=$8502603E, - GA_TEXTEDITOR_TABKEYPOLICY=$8502603F, - GA_TEXTEDITOR_HORIZSCROLLER=$85026040, -> OS4ONLY - GA_TEXTEDITOR_VERTSCROLLER=$85026041, -> OS4ONLY - GA_TEXTEDITOR_TEXTATTR=$85026042, -> OS4ONLY - GA_TEXTEDITOR_TABTOSPACES=$85026043, -> OS4ONLY - GA_TEXTEDITOR_DRAGGING=$85026044, -> OS4ONLY - GA_TEXTEDITOR_EOLMARKER=$85026045, -> OS4ONLY - GA_TEXTEDITOR_LOOKAHEAD=$85026046, -> OS4ONLY - GA_TEXTEDITOR_BEVELSTYLE=$85026047, -> OS4ONLY - GA_TEXTEDITOR_TRANSPARENT=$85026048, -> OS4ONLY - GA_TEXTEDITOR_MAXUNDOLEVELS=$85026049, -> OS4ONLY - GA_TEXTEDITOR_MAXUNDOSIZE=$8502604A, -> OS4ONLY + CONST TEXTEDITOR_DUMMY=$45000, + GA_TEXTEDITOR_CONTENTS=$45002, + GA_TEXTEDITOR_CURSORX=$45004, + GA_TEXTEDITOR_CURSORY=$45005, + GA_TEXTEDITOR_DOUBLECLICKHOOK=$45006, + GA_TEXTEDITOR_EXPORTHOOK=$45008, + GA_TEXTEDITOR_EXPORTWRAP=$45009, + GA_TEXTEDITOR_FIXEDFONT=$4500A, + GA_TEXTEDITOR_FLOW=$4500B, + GA_TEXTEDITOR_HASCHANGED=$4500C, + GA_TEXTEDITOR_IMPORTHOOK=$4500E, + GA_TEXTEDITOR_IMPORTWRAP=$45010, + GA_TEXTEDITOR_INSERTMODE=$4500F, + GA_TEXTEDITOR_KEYBINDINGS=$45011, + GA_TEXTEDITOR_NUMLOCK=$45018, + GA_TEXTEDITOR_POPWINDOW_OPEN=$45003, + GA_TEXTEDITOR_AREAMARKED=$45014, + GA_TEXTEDITOR_PROP_DELTAFACTOR=$4500D, + GA_TEXTEDITOR_PROP_ENTRIES=$45015, + GA_TEXTEDITOR_PROP_FIRST=$45020, + GA_TEXTEDITOR_PROP_RELEASE=$45001, + GA_TEXTEDITOR_PROP_VISIBLE=$45016, + GA_TEXTEDITOR_QUIET=$45017, + GA_TEXTEDITOR_READONLY=$45019, + GA_TEXTEDITOR_REDOAVAILABLE=$45013, + GA_TEXTEDITOR_SEPARATOR=$4502C, + GA_TEXTEDITOR_HORIZONTALSCROLL=$4502D, + GA_TEXTEDITOR_PEN=$4502E, + GA_TEXTEDITOR_COLORMAP=$4502F, + GA_TEXTEDITOR_STYLEBOLD=$4501C, + GA_TEXTEDITOR_STYLEITALIC=$4501D, + GA_TEXTEDITOR_STYLEUNDERLINE=$4501E, + GA_TEXTEDITOR_TYPEANDSPELL=$45007, + GA_TEXTEDITOR_UNDOAVAILABLE=$45012, + GA_TEXTEDITOR_WRAPBORDER=$45021, + GA_TEXTEDITOR_HPROP_DELTAFACTOR=$45030, ->obsolete + GA_TEXTEDITOR_HPROP_ENTRIES=$45031, + GA_TEXTEDITOR_HPROP_FIRST=$45032, + GA_TEXTEDITOR_HPROP_VISIBLE=$45033, + GA_TEXTEDITOR_EXITHELP=$45034, + GA_TEXTEDITOR_TABSIZE=$45035, + GA_TEXTEDITOR_SPACESPERTAB=$45035, + GA_TEXTEDITOR_INDENTWIDTH=$45036, + GA_TEXTEDITOR_HIGHLIGHTERHOOK=$45037, + GA_TEXTEDITOR_SHOWLINENUMBERS=$45038, + GA_TEXTEDITOR_LEFTBARHOOK=$45039, + GA_TEXTEDITOR_RECTANGULARSELECTIONS=$4503A, + ->Please note that OS4 defines the above 5 binary values with other meaning - yes we messed up + GA_TEXTEDITOR_AUTOINDENT=$4503B, ->same name but different value to OS4 + GA_TEXTEDITOR_ERRORCODE=$45036, -> OS4ONLY + GA_TEXTEDITOR_KEYMAP=$45037, -> OS4ONLY + GA_TEXTEDITOR_CURSORBLINKSPEED=$45038, -> OS4ONLY + ->GA_TEXTEDITOR_AUTOINDENT=$45039, -> OS4ONLY + GA_TEXTEDITOR_LENGTH=$4503A, -> OS4ONLY + GA_TEXTEDITOR_CUTCOPYLINEWHENNOSELECTION=$4503C, + GA_TEXTEDITOR_LINEENDINGIMPORTED=$4503D, + GA_TEXTEDITOR_LINEENDINGEXPORT=$4503E, + GA_TEXTEDITOR_TABKEYPOLICY=$4503F, + GA_TEXTEDITOR_HORIZSCROLLER=$45040, -> OS4ONLY + GA_TEXTEDITOR_VERTSCROLLER=$45041, -> OS4ONLY + GA_TEXTEDITOR_TEXTATTR=$45042, -> OS4ONLY + GA_TEXTEDITOR_TABTOSPACES=$45043, -> OS4ONLY + GA_TEXTEDITOR_DRAGGING=$45044, -> OS4ONLY + GA_TEXTEDITOR_EOLMARKER=$45045, -> OS4ONLY + GA_TEXTEDITOR_LOOKAHEAD=$45046, -> OS4ONLY + GA_TEXTEDITOR_BEVELSTYLE=$45047, -> OS4ONLY + GA_TEXTEDITOR_TRANSPARENT=$45048, -> OS4ONLY + GA_TEXTEDITOR_MAXUNDOLEVELS=$45049, -> OS4ONLY + GA_TEXTEDITOR_MAXUNDOSIZE=$4504A, -> OS4ONLY GM_TEXTEDITOR_HANDLEERROR=$4501F, GM_TEXTEDITOR_ADDKEYBINDINGS=$45022, GM_TEXTEDITOR_AREXXCMD=$45023,