Skip to content

reimplement OpenSHC::Text::TextEditorState - #224

Draft
TheRedDaemon wants to merge 43 commits into
mainfrom
reimpl/text-editor-state
Draft

TheRedDaemon wants to merge 43 commits into
mainfrom
reimpl/text-editor-state

Conversation

@TheRedDaemon

@TheRedDaemon TheRedDaemon commented Sep 6, 2026 •

Copy link
Copy Markdown
Contributor

I noticed it while reimplementing drawBorderStyle0x20:
dialogContentWidth and dialogContentHeight are likely swapped.
And if not them, then dialogWidth and dialogHeight.
It should be fixed within this PR, I am just unsure whether or not it should be done now or at the end.

intArray1 is seems to be an array of wchar_t*.

If I forget it, please remember me.


Many of the shorter functions share knowledge with some bigger and certain Menu functions.
These might partially all have been one giant file. Once the day comes, we likely need to use the GL method again. It is important to be careful then, so that we do not end up giving files knowledge of each other that they should not have.


There seem to be ints/shorts/wchar_ts that represent certain help text tokens. These could use an enum.


The L-strings need to be replaced with a string file reference.


Document the hlp-file structure a bit.

@TheRedDaemon
TheRedDaemon force-pushed the reimpl/text-editor-state branch from 24fb253 to 1390bbc Compare September 6, 2026 17:45
Comment thread src/OpenSHC/OS.func.hpp Outdated
@TheRedDaemon
TheRedDaemon force-pushed the reimpl/text-editor-state branch 6 times, most recently from c848002 to f4a4a81 Compare September 20, 2026 19:58
@TheRedDaemon
TheRedDaemon force-pushed the reimpl/text-editor-state branch 3 times, most recently from b78fb28 to e72b1ea Compare September 23, 2026 19:34
@TheRedDaemon
TheRedDaemon force-pushed the reimpl/text-editor-state branch from 93be259 to d408819 Compare September 29, 2026 19:57
@TheRedDaemon
TheRedDaemon force-pushed the reimpl/text-editor-state branch 3 times, most recently from 7582342 to a398a98 Compare October 10, 2026 20:17
@TheRedDaemon
TheRedDaemon force-pushed the reimpl/text-editor-state branch from a398a98 to fcb72c7 Compare October 10, 2026 20:49
@TheRedDaemon TheRedDaemon added the declaration/type change This requires changes to the generated/exported types or definitions. label Oct 10, 2026
@gynt

gynt commented Oct 11, 2026

Copy link
Copy Markdown
Contributor

See latest changes on main!

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

declaration/type change This requires changes to the generated/exported types or definitions.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants