Coder Social home page Coder Social logo

Comments (3)

haven1433 avatar haven1433 commented on June 14, 2024 1

This is now fixed in the master branch and will be in the next release.

from hexmaniacadvance.

haven1433 avatar haven1433 commented on June 14, 2024

Since the line-end characters are included in the string, the line wraps you see in HMA are completely arbitrary. The intent was to not auto-wrap, except on line-end characters, so that you can see when your text is too wide to fit in a textbox. The fontsize default width are such that if you've become too wide to see it, you probably are too wide for the game.

... but looking at your example, it seems like it auto-wraps on \n (0xFE) and \pn (0xFB), but not on \l (0xFA). If I fix that, then your example would look like:
\CC0303\CC0104BLAKE: Non accetto il vostro\n
rifiuto, con o senza il vostro\pn
consenso, il progetto verra\l
avviato, ora tutti in postazione.\l
\CC0301\CC0108OAK: Blake, tu sei folle, vuoi\l
far esplodere tutto quanto?\l
\CC0303\CC0104BLAKE: L'unica cosa che potrebbe\l
accadere e che il reattore\l
centrale si spenga a causa della\l
poca energia immagazzinata.\l
Non voglio continuare a discutere,\l
se non ubbidite dovro prendere dei\l
seri provvedimenti, e chiaro?

It seems that if I wrap on \l, the line length is much more reasonable. I'll definitely do that. Aside from that, resetting the left panel to the default size can be done by double-clicking the divider.

Is that sufficient? Or are there still situations where having a line wrap would be useful?

from hexmaniacadvance.

LOuroboros avatar LOuroboros commented on June 14, 2024

Since the line-end characters are included in the string, the line wraps you see in HMA are completely arbitrary. The intent was to not auto-wrap, except on line-end characters, so that you can see when your text is too wide to fit in a textbox. The fontsize default width are such that if you've become too wide to see it, you probably are too wide for the game.

... but looking at your example, it seems like it auto-wraps on \n (0xFE) and \pn (0xFB), but not on \l (0xFA). If I fix that, then your example would look like:
\CC0303\CC0104BLAKE: Non accetto il vostro\n
rifiuto, con o senza il vostro\pn
consenso, il progetto verra\l
avviato, ora tutti in postazione.\l
\CC0301\CC0108OAK: Blake, tu sei folle, vuoi\l
far esplodere tutto quanto?\l
\CC0303\CC0104BLAKE: L'unica cosa che potrebbe\l
accadere e che il reattore\l
centrale si spenga a causa della\l
poca energia immagazzinata.\l
Non voglio continuare a discutere,\l
se non ubbidite dovro prendere dei\l
seri provvedimenti, e chiaro?

It seems that if I wrap on \l, the line length is much more reasonable. I'll definitely do that. Aside from that, resetting the left panel to the default size can be done by double-clicking the divider.

Is that sufficient? Or are there still situations where having a line wrap would be useful?

That sounds good to me, yeah.

from hexmaniacadvance.

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.