LibTextDump-1.0

This library provides the ability to create a frame to dump text into, mainly for the purposes of copy/pasting to another medium. The frame does not automatically gain focus, can be banished with the Escape key, and has a button in the lower-right corner to highlight all text.

You must login to post a comment. Don't have an account? Register to get one!

  • 3 comments
  • Avatar of oeberdoeber1 oeberdoeber1 Oct 22, 2015 at 20:59 UTC - 0 likes

    @Torhal: Go

    Thanks a lot for the great response. The library works great. I just didn't know that the Addon is loaded before the UI. So, all I needed to do was remove the :AddLine('text') and :Display() from the main chunk of code, into something that is loaded later. Like the ADDON_LOADED event. Then it just works.

  • Avatar of Torhal Torhal Oct 22, 2015 at 20:56 UTC - 0 likes

    @oeberdoeber1: Go

    Responded in IRC. :D

  • Avatar of oeberdoeber1 oeberdoeber1 Oct 22, 2015 at 20:34 UTC - 0 likes

    Hello Torhal,

    This lib is just what I need. However, I can't get it to show anything. Could you help me out?

    In my .toc file

    ## OptionalDeps: LibStub, LibTextDump-1.0
    
    #@no-lib-strip@
    Libs\LibTextDump-1.0\LibStub\LibStub\LibStub.lua
    Libs\LibTextDump-1.0\Lib.xml
    #@end-no-lib-strip@
    

    In my index.lua file

    -- Our text display frame
    local TextFrame = LibStub("LibTextDump-1.0"):New("Example", 640, 480)
    TextFrame:AddLine("Some Text")
    

    Thank you :)

  • 3 comments

Facts

Date created
Nov 02, 2013
Categories
Last update
Jun 24, 2015
Development stage
Release
License
All Rights Reserved
Curse link
LibTextDump-1.0
Reverse relationships
4
Downloads
17,178
Recent files

Authors

Relationships

Embedded library
LibStub