Hugo Saint-Vignes
b92c819ea2
[escher/src/text_area] Add char limit in text_area line
...
Change-Id: I9284936f0202d788edc785aa3f7c82b45ab34cf5
2020-11-04 15:32:59 +01:00
Hugo Saint-Vignes
e35f2cc938
[escher] Scroll speed increase for long repetition in text area
...
Change-Id: Ia468bd3ae3f247937127228a11e3d51653dd2ae2
2020-11-04 14:45:34 +01:00
Romain Goyet
950862f8d0
Use std::min and std::max
2020-04-14 09:31:02 -04:00
Ruben Dashyan
09e1c2eb8b
[escher/text_input] insertTextAtLocation location parameter not const anymore
2020-02-12 15:13:23 +01:00
Léa Saviot
d446d1cb61
[escher/text_input] Fix ShiftDown in text field with extension
...
The extension should not be selected
2020-02-12 15:13:18 +01:00
Léa Saviot
d9b284c1ec
[escher/text_input] ShiftUp/Down selects whole textfield on left/right
2020-02-12 15:13:18 +01:00
Léa Saviot
3ff94b8930
[escher/text_input] Fix cursor position when deleting selection
2020-02-12 15:13:18 +01:00
Léa Saviot
cb53038909
[escher] Text input has alignment, not text field
2020-02-12 15:13:18 +01:00
Léa Saviot
aad1636238
[escher/text_input] Methods reordering
2020-02-12 15:13:18 +01:00
Léa Saviot
9b53b182a9
[escher/text_input] Fix deleteSelection
2020-02-12 15:13:18 +01:00
Léa Saviot
367df21288
[escher/text_input] Use move method to select
...
This fixes the dot that could be selected in the Python app script names
2020-02-12 15:13:18 +01:00
Léa Saviot
efc8a238ea
[escher] Rename deleteSelectedText -> deleteSelection
2020-02-12 15:13:17 +01:00
Léa Saviot
ecf23123a6
[escher/text_input] Clean TextInput::ContentView::resetSelection
2020-02-12 15:13:17 +01:00
Léa Saviot
9c5843500a
[escher/text_input] Fix reload and scroll after deleteSelectedText
2020-02-12 15:13:17 +01:00
Léa Saviot
73b1f7da20
[escher/text_input] Fix selection algorithm
...
There was a glitch when :
** are the selected glyphs and | is the cursor
12345678
234567|8 then Shift+up
**
2020-02-12 15:13:17 +01:00
Léa Saviot
e98b67634d
[escher/text_area] Improve dirty tracking
2020-02-12 15:13:17 +01:00
Léa Saviot
b6f3b39086
[escher/text_input] Rename currentSelectionIsEmpty -> selectionIsEmpty
2020-02-12 15:13:17 +01:00
Léa Saviot
bb69b2c131
[ion/events_modifier] Reindent
2020-02-12 15:13:17 +01:00
Léa Saviot
14cc6ffc59
[escher/text_area] Select and copy
2020-02-12 15:13:17 +01:00
Léa Saviot
9f018eb9d9
[escher/view] setFrame and layoutSubviews can be forced
2020-02-12 15:13:15 +01:00
Romain Goyet
45875dd642
[escher] Make app() a global function
...
This way it can easily be reached by anyone, including non-responders.
And it can easily be overwritten in namespaced apps.
2019-07-19 15:06:25 +02:00
Léa Saviot
cc8403e020
[escher/text_input] Factorize and clean handleEvent Right and Left
2019-06-21 14:30:14 -04:00
Léa Saviot
5f549b514e
[escher] Fix backspace on utf8 combining code point
2019-06-21 14:30:14 -04:00
Léa Saviot
b2a97cfc7a
[escher] Fix buffer choice in TextField::glyphFrameAtPosition
2019-05-03 15:53:20 +02:00
Léa Saviot
bd2ea41fbe
[apps/escher] Rename cursorTextLocation as cursorLocation
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
7b5c51b3c3
[escher] Fix textfield edition
2019-05-03 15:53:19 +02:00
Léa Saviot
76e6860f83
Remove TODOs
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
Léa Saviot
07a910b455
[escher] Clean text_input
2019-05-03 15:53:19 +02:00
Léa Saviot
aea98de6ec
[apps/escher] Fix "Clear" event handling in TextFieldWithExtension
2018-11-23 12:04:05 +01:00
Émilie Feral
01e433a9f2
[escher] Clean Field and Input class hierarchy:
...
Class hierarchy:
- InputEventHandler
- TextInput
- EditableField derives from InputEventHandler
- LayoutField, TextField and ExpressioField derives from EditableField
- TextArea and TextField derives from TextInput
2018-11-23 12:04:02 +01:00
Léa Saviot
885f953d52
[apps] TextFieldWithExtension blocks cursor on the rightmost text
2018-11-23 12:04:02 +01:00
Romain Goyet
f8beae3b86
[kandinsky] Move to KDFont
2018-10-11 16:44:02 +02:00
Émilie Feral
579da3033a
[apps] Get rid of DynamicViewController (part 2)
2018-09-07 17:55:42 +02:00
Romain Goyet
a514f2a6be
[escher] TextArea now uses clearRect and drawLine
2018-06-04 16:08:11 +02:00
Romain Goyet
d2b2705d2d
[escher] TextInput doesn't use colors anymore
2018-06-04 16:08:11 +02:00
Léa Saviot
3b582a2e46
Merge branch 'SaisieJolie30Apr' into SaisieJolie8May
...
Change-Id: Ia4196119fc56c5bc3423aea752b49f3f7ba39499
2018-05-08 15:17:51 +02:00
Léa Saviot
19d5115eaa
[escher] Add margins in ExpressionField
...
Change-Id: I51272682246403f0449be19ff6cc75fd5544ad9c
2018-04-26 16:31:09 +02:00
Émilie Feral
aade7cb2fe
[escher] Create a class TextInput (from which derived TextField,
...
TextArea)
2018-03-22 13:12:12 +01:00