Joachim LF
44fc94469e
[code] Fix movement in input
2021-01-28 20:02:45 +01:00
Joachim LF
9b17d1b882
[Update] Epsilon 15.3.1
2021-01-21 19:56:06 +01:00
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
aba135bc8b
[escher] Add textArea line number limit
...
Change-Id: Ia0d9a9136282efc87c0996c141c0852ed75892f9
2020-11-04 15:11:45 +01:00
Hugo Saint-Vignes
af32f33141
[ion] Remove unused function and rename longRepetitionScrollSpeed
...
Change-Id: I11268eb34060c74eb8770ba0eb999f84737c76d8
2020-11-04 14:45:34 +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
M4x1m3
efd2896a34
[ion/kb] Reverted #370 , found a better way to fix.
2020-07-17 10:09:07 +02:00
M4x1m3
c029474a61
[escher] Fixed alpha+arrow / alpha-lock + arrow
2020-07-14 11:00:08 +02:00
Joachim LF
d7ac7e19bb
[Update] Epsilon 14
2020-07-13 10:36:47 +02:00
Léa Saviot
6311f408b4
[escher/text_area] Fix overlap in textInsert
2020-06-04 14:50:04 +02:00
Léa Saviot
eeb42f2544
[apps/code] autocompletionText uses the right text length
...
Before, there was no notion that the autocompleted text might not be a
null terminated string.
2020-06-04 14:50:03 +02:00
Léa Saviot
938e0dd840
[apps/code] Autocompletion steps
2020-06-04 14:50:03 +02:00
Quentin
a7a212c652
Merge branch 'RevertPercent' of https://github.com/RedGl0w/epsilon into RedGl0w-RevertPercent
2020-04-16 14:05:11 +02:00
Quentin
f37040dc8a
[Fix] Conflicts
2020-04-16 14:04:56 +02:00
Romain Goyet
84768472bd
Explicit std::min/max template usage
...
This is unfortunately required in several cases:
- Sometimes when we use either float and double (this should be changed)
- Because KDCoordinate is not an int, so any arithmemtic promotes it to
an int
- Because we mix pointer differences and ints
2020-04-14 09:31:02 -04:00
Romain Goyet
950862f8d0
Use std::min and std::max
2020-04-14 09:31:02 -04:00
Joachim LF
53743ab531
Revert percent
2020-04-11 19:06:40 +02:00
Maxime FRIESS
33060d80c8
[Fix] Bring Alpha+Up/Down/Left/Right scrolls to top/bottom/left/right
2020-02-29 18:55:19 +01:00
Quentin Guidée
31cdd5bcc8
Fixed some conflicts
2020-02-12 18:24:13 +01:00
Quentin Guidée
ab8f731515
Fixed some conflicts
2020-02-12 17:42:58 +01:00
Émilie Feral
0348db5d2e
[escher] TextArea: fix drawStringAt action with negative length
2020-02-12 15:13:24 +01:00
Ruben Dashyan
09e1c2eb8b
[escher/text_input] insertTextAtLocation location parameter not const anymore
2020-02-12 15:13:23 +01:00
Ruben Dashyan
742ee475ea
[escher/text_area] Fix typo
2020-02-12 15:13:23 +01:00
Léa Saviot
e10bd18f8e
[escher/text_area] insertTextAtLocation removes system parentheses
2020-02-12 15:13:18 +01:00
Léa Saviot
a42b52d10e
[escher/text_area/field] When pasting, force cursor right of text
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
efc8a238ea
[escher] Rename deleteSelectedText -> deleteSelection
2020-02-12 15:13:17 +01:00
Léa Saviot
df167376f0
[escher/text_area] Handle cut event
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
20c761d3f0
[escher/text_area] Fix slection over wrote
...
Scenario: 34567 then press 0 -> we want 3067
** selected
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
1f44f80e4a
[escher] Scroll to cursor when selecting up / down
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
67008f454e
[escher/text_area] Replace the selection when event with text
2020-02-12 15:13:17 +01:00
Léa Saviot
30923ed4c6
[escher/text_area] Select up/down
2020-02-12 15:13:17 +01:00
Léa Saviot
1eba12784f
[escher/text_area] Remove unnecessary scroll
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
M4x1m3
335f870a23
Shift+Up and Shift+Down in python editor ( closes #177 )
2020-01-23 22:17:04 +01:00
redgl0w
bb83ec9b76
Update text_area.cpp
2019-12-24 09:20:33 +01:00
redgl0w
eb28aabd75
Removed experiment
2019-12-22 11:18:52 +01:00
redgl0w
c903e674d3
Remove %
...
Removed % and put again the remove glyph
2019-12-22 11:14:56 +01:00
Émilie Feral
2861a35840
Clean some warnings
2019-08-08 16:29:38 +02:00
Ruben Dashyan
e4ec398ecd
[escher] InputEventHandler gets the app directly
2019-07-19 15:06:25 +02: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
67eea0802f
[escher/text_area] Fix cursor navigation on combining code points
2019-06-21 14:30:14 -04:00
Léa Saviot
2061c5d692
[escher/text_area] Fix text indentation handling
...
We used a small buffer to preprocess a text to insert in text area (add
indentation, remove empty code points, compute the next cursor location),
but the size of this buffer was sometimes too small and caused a crash.
Now we do all the text odification in place in the text area buffer.
2019-06-13 11:40:13 -04:00
Émilie Feral
1e01c5dadb
[escher] TextArea: fix cursor position when handling text with UCodePointEmpty
2019-05-07 17:13:13 +02:00
Léa Saviot
3f0bdc6630
[escher] Fix TextArea::handleEventWithText
...
It did not handle properly a new line (placed the cursor wrongly).
2019-05-03 15:53:20 +02:00