xanChat

xanChat

20.1k Downloads

Suggestion: Clear copy chat buffer

nancikennedy opened this issue ยท 3 comments

commented

It would be beneficial to have a slash command to clear the currently saved chat buffer so that if you're outputting a large volume of text to chat for copying purposes, you could issue the clear command before that.

commented

I'm in the process of updating all my addons.

I took the liberty to review this request. I had forgotten that there technically isn't a chat buffer. The multiline edit box that the copy chat frame uses has a limited amount of text is can handle before it basically lags out. Due to this restriction, xanChat always just pulls the last 150 lines of chat. To combat this I used pages to scroll through all chat since you login.

xanChat DOES populate enough pages to get to load all the chat since you logged in. I suppose if you're logged in for hours this can be an issue after a crazy build up of text. Hmm what I can do is limit the amount of pages it does generate though to a predefined or custom number. Perhaps a custom slider option that lets you set the recent amount of pages you want to store?

commented

It's a neat idea, just wouldn't work for me.

For me, I use ReHack to run a lua script that outputs to chat all the code necessary to replicate the currently logged in chars actionbars. I then copy that output into another page in ReHack that is used as the source for the class/spec when running another page script that does a fresh reset of all a char's action bars. Being able to include in the script a precall to clear the chat means that the only thing in the chat woudl be the code output I need to copy to make it all work. Since the output is never going to be the same number of lines across class/specs, a slider option wouldn't work for me.

Thanks for the attention

commented

That's actually not a bad idea! I'll have to see about implementing it :)