Hix: Lua Pad
Hix: Lua Pad is a lightweight in game text editor that allows the creation and execution of Lua code. This pad has been designed for development purposes, allowing you to run quick snippets of code instead of having to program them into your addon's files. Although this pad has several helpful features to bring as nice an environment as possible without sacrificing efficiency and resources, it is not recommend for large coding projects which would be better suited in an external code editor; it is a more appropriate tool for creating smaller segments of your coding needs. This addon was inspired by tekPad.
Features
Hix: Lua Pad sports a slick black faded text editor with scrolling support (mouse wheel and scroll bar), line numbers to help track errors and the ability to store and save individual code segments*. Sharing your code segments to friends in game will be a feature that will be added in the near future.
* Features incoming.
Usage
Most information about what things do are delivered via tooltips in game. Some of the more covert uses are:
- While in the editor you can press Ctrl+Enter to quickly run the Lua code you've written.
- Code is saved when the edit box loses focus and when the code is run.
- Right-Clicking the Run button will clear the current code segment.
- You can move the pad around by left-click dragging the outer rim of the pad, and can resize by right-click dragging.
Reason for creation
I found myself customising Tekkub's addon tekPad quite a bit when I was using it and ultimately decided to create my own a few years ago. Now I'm using my version a lot more for working on LUI development and now I've decided to increase its functionality and push it as its own addon for others to use.
Reporting
If you find any problems please do leave a comment behind or create a ticket via curse; your help is welcomed.
Suggestions
Please also feel free to leave behind suggestions and ideas that you think should be incorporated into/removed from this addon and I shall consider any that seem appropriate. Please note that this Lua pad is designed to be lightweight, therefore some of the more advanced features of a normal text editor will most likely not be added. For a more complete editor to what you would expect of an external editor check out _DevPad; a more feature full, but heavier experience. Suggestions can be left in the comments or via the ticket system.
Final words
Thanks for taking an interest in this addon.
If you enjoyed this addon, check out my others! Hix