Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

E2Helper & Text Editor Module Support #63

Merged
merged 5 commits into from
Sep 10, 2024

Conversation

DerelictDrone
Copy link
Member

@DerelictDrone DerelictDrone commented Aug 20, 2024

Provides support for the upcoming changes in wiremod/wire#3127 by porting some of the functionality of the original E2Helper implementation for ZCPU here.

The changes allow loaded extensions to display their instructions properly in E2Helper thanks to being able to update descriptions and items at CPULib's will.
gmod_LkmYi0Urzr

Backwards compatible with older versions of wiremod before this change, letting the hardcoded E2Helper & Text Editor control us, but the new version of wiremod won't be able to support versions of ZCPU before this, sadly.

(this is what it'll look like for an older zcpu version on new wiremod, still compiles when you click but no syntax highlighting or helper, technically functional)
image

@DerelictDrone
Copy link
Member Author

One small issue with the debugger I need to fix at some point, it seems like the cpulib debugger prepends cpuchip to the current open file name if I have the debugger on a cpu and open a gpu file

@DerelictDrone
Copy link
Member Author

That'll probably be the last of the work I need to do for this, after review it should be ready for merge alongside the PR in wire-main

@DerelictDrone DerelictDrone merged commit 3b021e0 into wiremod:master Sep 10, 2024
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants