Coder Social home page Coder Social logo

Comments (7)

LadyDefile avatar LadyDefile commented on June 3, 2024

The next time this happens, please paste the broken text here along with a screenshot of the scratchpad and send it.

from wordsmith-dalamudplugin.

lanameredice avatar lanameredice commented on June 3, 2024

Hi there!

It happened again. Here is the broken text and a screenshot of the scratchpad:

handed him the half-eaten bucket, now ice-cream soup, and laughed

.

"Jörgen just wants to see what all the fuss is about. And, apparently, is

looking for more chocobo meat from you, since you keep /feeding him

the feathers./ It's your own fault." She sniffed and tossed her head,

sticking her nose up in the air, but unable to keep the smile off of her

lips. She gave him one last, tight hug. "Thank you, Cer. For being you."

She groaned as she stood and stretched. "Right now, I have a date with

the bath room. I'll see you around for training.
Capture1
Capture
"

from wordsmith-dalamudplugin.

LadyDefile avatar LadyDefile commented on June 3, 2024

Interesting. That period is wrapped to its own line in the text you pasted. I'll have to dig around to see if I can replicate the issue.

from wordsmith-dalamudplugin.

lanameredice avatar lanameredice commented on June 3, 2024

It may have to deal with me going back and edited my posts as I type them. On this one, I removed a few words from the end of that sentence. However, when I realized what had happened, I tried to remove the period and shift and adjust, however it kept assigning it it's own line.

from wordsmith-dalamudplugin.

LadyDefile avatar LadyDefile commented on June 3, 2024

Ok. I have a suspicion. Next time it happens, try this. Delete the period and the letter in front of it. Because Dalamud's UI doesn't support wrapped text boxes I had to encode my own with a custom wrapping system. Unfortunately, the only way to do that was by using newline and return carriage characters as markers. What is likely happening is the edit manages to get between these tags and break the wrapping system. I have code in place to minimize this possibility, but I can only do so much without rewriting the entire text system.

For reference:
handed him the half-eaten bucket, now ice-cream soup, and laughed

.

Actually looks like this to the plugin:
handed him the half-eaten bucket, now ice-cream soup, and laughed/r/r./n

from wordsmith-dalamudplugin.

lanameredice avatar lanameredice commented on June 3, 2024

I'll definitely give it a go and see if that fixes it. I'll let you know if/when it happens again.

from wordsmith-dalamudplugin.

LadyDefile avatar LadyDefile commented on June 3, 2024

Wordsmith uses /n to mark a user hitting enter, /r/n to mark a split, and /r/r/n to mark a split that replaced a space.

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.