The Birdfont Source Code


All Repositories / birdfont.git / commitdiff – RSS feed

Fix search in overview

These changes was commited to the Birdfont repository Sun, 02 Dec 2018 14:37:39 +0000.

Contributing

Send patches or pull requests to johan.mattsson.m@gmail.com.
Clone this repository: git clone https://github.com/johanmattssonm/birdfont.git
[Sun, 02 Dec 2018 14:37:39 +0000]

Updated Files

libbirdfont/OverView.vala
--- a/libbirdfont/OverView.vala +++ b/libbirdfont/OverView.vala @@ -273,6 +273,14 @@ OverView o = MainWindow.get_overview (); string q = o.search_query; + if (q == "*") { + q = "star"; + } + + if (q == "?") { + q = "question"; + } + if (q.char_count () > 1) { q = q.down (); }