Commit Graph

14 Commits

Author SHA1 Message Date
Léa Saviot
e338577793 [unicode] Clean decoder use 2019-05-03 15:53:20 +02:00
Léa Saviot
7f4ef39d0c [text_area] Fix Text::Position use with unicode
A glyph offset is not equivalent to a code point offset since a code
point can be several glyphs long.
2019-05-03 15:53:19 +02:00
Léa Saviot
496d346049 Remove max/min inline from KDCoordinate header 2019-05-03 15:53:19 +02:00
Léa Saviot
5c39cab73e [escher] Fix text inputs so they use UTF8 2019-05-03 15:53:19 +02:00
Émilie Feral
afce751eb7 [code] Get rid of malloc: keep a buffer in Code::App to be used as python heap 2018-09-19 18:20:30 +02:00
Émilie Feral
0b71e92625 [apps] Add missing min/max redefinition 2018-09-04 12:19:49 +02:00
Louis Rannou
70a2db9336 Fix warnings about comparing different signedness
Some variables were declared as int while they are size_t. As we try to compare
them to unsigned values, a warning was raised (comparison of integer expressions
of different signedness).
2018-08-24 15:32:26 +02:00
Romain Goyet
3d74d52ec6 [python] Highlight minus-equal, plus-equal as operators 2018-06-20 11:22:32 +02:00
Romain Goyet
74330bb330 [python] Properly compute all token length 2018-06-20 11:22:32 +02:00
Romain Goyet
caff93cda0 [code] Avoid init/deinit-ing uPy in each editor redraw 2018-06-04 16:08:11 +02:00
Romain Goyet
b52590e2f7 [code] Use named colors 2018-06-04 16:08:11 +02:00
Romain Goyet
6cd18cca89 [python] Malloc the syntax-highlighting uPy heap 2018-06-04 16:08:11 +02:00
Romain Goyet
29cacbc44f [code] Implement syntax highlighting in PythonTextArea 2018-06-04 16:08:11 +02:00
Romain Goyet
88e40266f6 [code] Create a PythonTextArea 2018-06-04 16:08:11 +02:00