CrappyChatFix
CrappyChatFix is a quick workaround to restore arrow key functionality in chat edit boxes.
Overview
Recently in patch 5.4, Blizzard modified the way edit boxes function in chat windows which removed a longstanding feature that addons took advantage of to allow users to press UP or DOWN to scroll through chat history without needing to hold ALT. CrappyChatFix is a proof of concept to show how the old behavior can be recreated.
Features
- Scroll through chat history by using UP or DOWN without holding ALT
- Your chat history persists through game sessions
- Have to re-log really quickly? No problem! Everything you typed will still be there
- History is saved separately for every [default] chat window, per character
- Slash command support to clear everything you typed - /ccfclear
Notes
Blizzard may restore this functionality in an upcoming patch rendering this addon even less useful! With that said, CrappyChatFix is still in beta. The code was just spit-balled to show addon developers how a workaround could be added to their projects.
If you find any issues, please open a ticket or contact me in game on BNET @ Karnmak#1760.
Thanks, and hope you enjoy this awesome product brought to you from DRAENOR!
@karnmak You might wanna look at the implementation in http://www.wowinterface.com/downloads/info6323-PhanxChat.html Modules/EnableArrows.lua
Anyone have a robust version of this addon?
I had done a /tar <mobname> and tried to up-arrow and hit enter, and got this error:
Date: 2013-12-06 16:45:17
ID: 1
Error occured in: AddOn: CrappyChatFix
Count: 1
Message: Error: AddOn CrappyChatFix attempted to call a forbidden function (TargetUnit()) from a tainted execution path.
Debug:
[C]: TargetUnit()
..\FrameXML\ChatFrame.lua:1231: ?()
..\FrameXML\ChatFrame.lua:4296:
..\FrameXML\ChatFrame.lua:4263
[C]: ChatEdit_ParseText()
..\FrameXML\ChatFrame.lua:3962: ChatEdit_SendText()
..\FrameXML\ChatFrame.lua:4008: ChatEdit_OnEnterPressed()
[string "*:OnEnterPressed"]:1:
[string "*:OnEnterPressed"]:1
Locals:
None
My apologies on the initial release. Due to the way I setup the repository, the addon's folder was saved in lowercase and was preventing the addon from loading.
Please try downloading it again.