Coder Social home page Coder Social logo

Comments (1)

LadyDefile avatar LadyDefile commented on June 12, 2024

So, this is a known issue with the way Wordsmith wraps text in the text input. Dalamud (and subsequently all plugins) run on ImGui. ImGui doesn't natively support a text input with text wrapping so I have to use hidden marker characters to flag the wrap points in the text so those points can be unwrapped later. Unfortunately, it is possible to type between these marker characters which will cause FFXIV to not allow you to paste the whole text.

The next time this happens, you can verify that this is what is actually happening by pasting into something like Notepad and you should see that it actually copied the segment as two paragraphs. The newline character that creates the paragraph break is a "forbidden character" in FFXIV so it just stops accepting text.

I have been exploring alternate ways to wrap the text or to validate text before copying to the clipboard but I have yet to find a solid answer to the issue yet short of completely rewriting my own, custom text input methods.

If you do paste into another text editor and find that I'm wrong, be sure to let me know. I'll keep this issue open for a week or so just in case but I'm pretty confident it's the known issue.

I'll look into adding some temporary "last resort" measures to prevent those marker characters from making it through.

from wordsmith-dalamudplugin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.