![]() |
Projects > World of Warcraft > AddOns >
my forks
https://github.com/spiralofhope/_DevPad
https://github.com/spiralofhope/_DevPad.GUI
An in-game text editor and addon authoring tool (Lua).
Keep notes with it, write Lua scripts, or prototype addon concepts in its trimmed down development environment. Organize your scripts into folders and share them with other _DevPad users. Scripts can run automatically on login like mini addons, and can call each other like libraries or dependencies.
An absolutely spectacular AddOn that I'm not sure I can live without.
-
2022-05-07 - (git) on Project Ascension - I could not get it working.
8888b12cf968547db5a3c3a3a459e845c7af9815
and GUI041e2c931ddcdce698d160a498411d679b7af0d6
have the sameShortcuts:SetPropagateKeyboardInput
error.27264dd8ec1e3eb46cac0ee2ed02f91c3db98423
and GUI4876d4b1af4d14ff6f5cb75c000417f752d44f94
have the sameShortcuts:SetPropagateKeyboardInput
error.990fce051a33508a67745a8b494922503fd816f2
- While you can type and run something, you cannot use backspace and other keys in a script window. [ 1 ]
- 2017-08-30 -- I also forked
_DevPad
for future updates: https://github.com/spiralofhope/_DevPad - 2016-07-24 -- I've updated it: https://github.com/spiralofhope/_DevPad.GUI
- 2016-07-23 - 5.0.0.1 on World of Warcraft 7 (Legion) 7.0.3 (22248)
-
2016-07-19 (version not recorded) on World of Warcraft 7 (Legion) 7.0.3 (22248)
- Seems to work just fine.
-
2016-07-18 - (version not recorded) on World of Warcraft 6 (WoD)
- This, and earlier versions, worked just fine before World of Warcraft 7 (Legion). No notes were taken.
- 2016-04-15 -- Abandoned, though I still use it.
- 2014-12-11 - 5.0.0.1 on (version not recorded)
-
I've used this since at least Cataclysm
2016-07-23 - 5.0.0.1 ∞
-
When editing a script, the current line is bright green.
- When specifying a colour, change
SetTexture
toSetColorTexture
.
- When specifying a colour, change
2014-12-11 - 5.0.0.1 ∞
Cannot run a script on startup ∞
I hit a wall with having a script run on startup.
local frame = CreateFrame("FRAME", "SprialofhopeZoomFrame") frame:RegisterEvent("PLAYER_ENTERING_WORLD") local function eventHandler(self, event, ...) -- do stuff end frame:SetScript("OnEvent", eventHandler)
My current work in progress is:
-- Create an anonymous blank frame local frame = CreateFrame('Frame') frame.RegisterEvents = RegisterEvents -- PLAYER_ENTERING_WORLD is fired when the player enters the world, enters/leaves an instance, or respawns at a graveyard. Also fires any other time the player sees a loading screen. frame:RegisterEvent("PLAYER_ENTERING_WORLD") frame:SetScript("OnEvent", function(self, event, ...) -- do stuff end)
At this point I'm stealing code which is reported to work, but just doesn't work for me.
The code I'm running is interacting with the frames being created by another addon. It should still work, because the addon will have already loaded before PLAYER_ENTERING_WORLD
is triggered. I can run it manually without any of the above autorun code, and it works. However, I cannot make it work on /console reloadui
Is this an interaction with _DevPad?
If this is a misunderstanding with how to use event registration, I can check with the developer forums and have my hand held.
I did end up solving my problem by hacking the addon directly, but I'm still curious about solving this in a better way.
Old links ∞
- https://www.wowinterface.com/downloads/info19403
- https://sites.google.com/site/wowsaiket/Add-Ons/DevPad
-
https://github.com/saiket/wow-saiket
- Maintained as sub-folders.
-
https://web.archive.org/web/20141231033313/http://wow.curseforge.com:80/addons/devpad/
Alternatives ∞
Last updated 2022-09-10 at 19:27:28
Footnotes
- It requires commenting-out
_DevPad.Editor.lua
line624
:
me.Shortcuts:SetPropagateKeyboardInput( true );
- [↩]
It looks like this can't work on Ascension without modifications.