Inserting Unicode symbols
Posted on July 12, 2012, under FocusWriter
I just added a dialog to FocusWriter for inserting Unicode symbols. The popularity of this feature request surprised me, but after giving it some thought it does make sense. After all, other word processors don’t require you to switch to a separate program just to insert the bullet symbol.
I went a little crazy designing the dialog, as I am wont to do. It started much simpler, just a basic grid of all of the Unicode symbols. However, since there are tens of thousands of symbols it was very hard to navigate, and so I had to come up with some way of filtering what symbols were shown. Unicode defines the writing script and block for every symbol (as well as its general category, but that is useless for filtering as most all symbols are in the same category), so I added those as a sidebar.
I started with a “favorites” bar, but it was annoying to have to remember to add them so I replaced it with a “recently used” bar. I also had to make sure users were able to specify a shortcut for symbols, so that they didn’t have to use the dialog every time they wanted to insert a character! There are three symbols with shortcuts by default: em dash (Ctrl+-
), ellipsis (Ctrl+.
), and bullet (Ctrl+*
); these can all be changed to something else.
There are a few more behind-the-scenes things I am going to do the dialog, but for the most part it is done and in the development source code. Another popular feature finished for the next version!
4 comments
Todd Lucas says:
July 17, 2012 at 8:25 pm
I have absolutely no need for this function, but it looks so awesome that I’m furiously trying to come up with one just so I can use it.
Graeme says:
July 17, 2012 at 9:00 pm
Ha! Fanstatic. 🙂
UnicodeUser says:
December 23, 2014 at 1:34 pm
Maybe I overlooked, however is it possible to input unicode in focuswriter by means of something like Ctrl+Shift+u?
Graeme says:
December 23, 2014 at 3:21 pm
That would be handled by Qt, the framework I use to make FocusWriter. I don’t believe it has support for that, sorry.