Post Reply 
FW 10077 - escape sequences
06-08-2016, 05:58 PM
Post: #7
RE: FW 10077 - escape sequences
(06-08-2016 05:07 PM)Michael K-K Wrote:  Thanks for explaining. Didn't know that tab is character or represented by characters in output/terminal, I thought it is a method to put the cursor to a defined position in a text line.

Well, that is kind of my point. Tab is a character, specifically a "control character" (https://en.wikipedia.org/wiki/Control_character).

Since the 2d expression editor is more of a general editor though, we kept the default freetype2 behavior to print out a box for any "missing" character the user puts in (otherwise you'd not be able to see anything was there and get strange behavior and no way to see where to delete something). In most cases, this works fine. Tabs however probably will get support, but it needs to be carefully done to avoid introducing other issues.

For example, I could stick in a character that was 2/4 spaces wide in the font, but that would screw up the use of that font in the connkit, as well as make it not behave as expected with alignment.

If the 2d editor/command line gets this support, it would still be missing from other places like the terminal, pop up boxes, etc. So it is a bigger task to do properly. Its on the list of things to do, and seems to fit nicely with the enhancement/changes with the text display/terminal/user text commands.

TW

Although I work for HP, the views and opinions I post here are my own.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
FW 10077 - escape sequences - Michael K-K - 05-29-2016, 04:38 PM
RE: FW 10077 - escape sequences - Tim Wessman - 06-08-2016 05:58 PM



User(s) browsing this thread: 1 Guest(s)