nuklear icon indicating copy to clipboard operation
nuklear copied to clipboard

Bug fixes and add feature: text edit wrap

Open zecruel opened this issue 5 years ago • 3 comments

Bug fixes:

  • Weird behavior in text edit when using multibyte utf8 characters (mainly in paste operations). Apparently was a mistake in calculating the length of string.
  • Text rendering out of bondary rectangle in multiline text edit. In this case, clip area must be recalculated.

New widget feature:

  • Auto wrap text in multiline edit. I do not know if it's the most elegant and stable solution, but it's working fine.

zecruel avatar Mar 07 '19 11:03 zecruel

i wonder who uses vertical tab '\v' these days

irtusb avatar Mar 07 '19 23:03 irtusb

I've looked at the source and the use of \v seems correct to me.

@zecruel could you please make the changes in source files (see the src/ directory), bump version (we're following Semver), and run amalgamation?

dumblob avatar Mar 12 '19 17:03 dumblob

I've looked at the source and the use of \v seems correct to me.

@zecruel could you please make the changes in source files (see the src/ directory), bump version (we're following Semver), and run amalgamation?

Done. Please verify if I made correctly. I add some comments in pull request for better explanation.

zecruel avatar Mar 14 '19 12:03 zecruel