Léa Saviot
c30f136fb3
[apps/poincare] Fix cursor position when inserting log(a,b) in 2DEdition
2018-11-23 12:04:09 +01:00
Léa Saviot
73d97944d5
[escher] Text fields do not have to handle special texts (_{}) anymore
2018-11-23 12:04:09 +01:00
Léa Saviot
53e4a290f7
[poincare] Rename Expression:parse in Parse
2018-11-23 12:04:09 +01:00
Léa Saviot
20e2194533
[escher] Remove Clipboard::store(Layout)
2018-11-23 12:04:09 +01:00
Léa Saviot
94603b2b7d
[poincare] Layout::serialize is serializeForParsing or ParsedExpression
...
serializeForParsing serializes the layout once,
serializeParsedExpression serializes the layout, parses it and
serializes it again.
2018-11-23 12:04:09 +01:00
Léa Saviot
bf6da61ca2
[escher/text_field] Fix privateHandleEvent text reset
2018-11-23 12:04:09 +01:00
Léa Saviot
860553b735
[escher] Fix cursor position in textfield
...
The cursor was not in the right place in TextFieldWithExtension
2018-11-23 12:04:08 +01:00
Léa Saviot
824ffd9c21
[escher] Fix TextField::setText update of draftTextLength and cursorLoc
2018-11-23 12:04:08 +01:00
Léa Saviot
8b87a6a893
[escher] Fix bug after memory exception
2018-11-23 12:04:08 +01:00
Léa Saviot
5f4c94af67
[escher] Fix TextField::handleEvent bug
2018-11-23 12:04:08 +01:00
Léa Saviot
e86300a28d
[escher] Fix accessory view that should not hide main view in some cases
2018-11-23 12:04:07 +01:00
Léa Saviot
a0e716c1ad
[apps/eschr] Rename textFieldDidHandleEvent parameter textSizeDidChange
2018-11-23 12:04:06 +01:00
Léa Saviot
293300973b
[escher] TextField::handleEventWithText escapes quicker with null text
2018-11-23 12:04:06 +01:00
Léa Saviot
56db3a484e
[escher] Fix selection problem in SelectableTableView
...
Scenario that caused a problem: Go to Statistics, then "1", "Right",
"Right", "Right", OK. The cell does not draw itself as being edited, but
its right neighbour does.
2018-11-23 12:04:06 +01:00
Léa Saviot
5113049d67
[escher] Color the expression in grey in variable box
2018-11-23 12:04:05 +01:00
Léa Saviot
aea98de6ec
[apps/escher] Fix "Clear" event handling in TextFieldWithExtension
2018-11-23 12:04:05 +01:00
Léa Saviot
e74e15eaf7
[apps/code] Handle too many Script default names used
...
When adding to many scripts without naming them, one can overflow the
number of default generated script names, in which case we force the
user to enter a name.
2018-11-23 12:04:05 +01:00
Léa Saviot
b3f5bf13de
[apps/escher] Code layouting and typo
2018-11-23 12:04:04 +01:00
Léa Saviot
b9bf5be5f6
[apps/escher] Remove wrong markRectAsDirty, use reloadCell instead
2018-11-23 12:04:04 +01:00
Léa Saviot
f47a6549b8
[escher] Remove duplicate Stack in Toolbox and NestedMenuController
...
This created a bug for instance when going deep down in the Python
toolbox, then going one step up: the user arrived in the highest menu
2018-11-23 12:04:04 +01:00
Léa Saviot
6fa7816789
[escher] Warning pop-ups may have two lines
2018-11-23 12:04:04 +01:00
Léa Saviot
00586b03d9
[escher] Fix pop up clash when memory is full while editing a function
...
There was a selection problem when editing a function failed because of
a full storage (k_storageSize = 1000)
2018-11-23 12:04:04 +01:00
Léa Saviot
bea78aa3b1
[apps/escher] Invocation::Action returns a bool
2018-11-23 12:04:04 +01:00
Léa Saviot
f259b84874
[apps/graph] Make the function list navigation faster
2018-11-23 12:04:04 +01:00
Émilie Feral
a40aeb0355
[escher] NestedMenuController: Fix bug, select leaf or sub menu only if
...
there is a selected row
2018-11-23 12:04:03 +01:00
Léa Saviot
b3269a2dc0
[escher] Remove duplicate call in TableView
2018-11-23 12:04:03 +01:00
Léa Saviot
9bfaed583d
[apps/escher/ion] Remove Graph memoized models on storage change
2018-11-23 12:04:03 +01:00
Léa Saviot
1517b57cc8
[apps] AppsContainer is a Ion::StorageDelegate
2018-11-23 12:04:03 +01:00
Émilie Feral
7e7c77a0e8
[escher] TextField and LayoutField handle move events while in editing
...
mode to avoid leaving unexpectedly edition mode
2018-11-23 12:04:03 +01:00
Léa Saviot
99c23d5deb
[escher] Fix AlternateEmptyViewController header guardians
2018-11-23 12:04:03 +01:00
Émilie Feral
0a823da78c
[escher] Variable box pop-up is handle as Toolbox pop-up by asking
...
InputEventHandlerDelegate
2018-11-23 12:04:03 +01:00
Léa Saviot
5ecd733904
[escher] Add comment in TextField::privateHandleEvent
2018-11-23 12:04:03 +01:00
Léa Saviot
96c105620a
[escher] Force re-layout when aborting text field edition
2018-11-23 12:04:03 +01:00
Émilie Feral
d61ee2857b
[escher] TextField: never flush the buffer when textField has only one
...
buffer
2018-11-23 12:04:03 +01:00
Émilie Feral
6dc1250df2
[escher] TextField: fix edition toggling when finishing editing
2018-11-23 12:04:03 +01:00
Émilie Feral
698332c355
[escher] InputTextDelegate and LayoutFieldDelegate don't inherit from
...
InputTextDelegate to avoid diamond inheritance
2018-11-23 12:04:03 +01:00
Émilie Feral
0a438b1803
[escher] ExpressionField does not inherit from EditableField
2018-11-23 12:04:02 +01:00
Émilie Feral
42628d7045
[escher] Fix HandleEvent on NestedMenuController
2018-11-23 12:04:02 +01:00
Émilie Feral
7778c694d1
[escher] Create an InputEventHandlerDelegate that gives the toolbox to
...
be used by an InputEventHandler
2018-11-23 12:04:02 +01:00
Léa Saviot
71d8358722
[apps/escher/poincare] Change KDText::FontSize to KDFont
2018-11-23 12:04:02 +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
7b98467fa9
[apps/graph] Fix first responder when popup after renaming function
2018-11-23 12:04:02 +01:00
Émilie Feral
c70278941a
[graph] Do not keep a function pointer as member variable but a record.
...
Indeed, function pointers can become invalid at any point...
2018-11-23 12:04:02 +01:00
Léa Saviot
974519f61a
[apps/code] Use TextFieldWithExtension in the list controller
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
Léa Saviot
bd65063b67
[graph] TextFieldFunctionTitleCell
2018-11-23 12:04:02 +01:00
Émilie Feral
e4e19b3b74
[sahred] StorageCartesianFunction: iterate on colors
2018-11-23 12:04:02 +01:00
Léa Saviot
a2a31f7a47
[escher] Fix Layout reload
...
The layout should be reloaded when inserting a non-parsable layout in a
layout field.
This fixes "diff" insertion from the math toolbox in calculation
2018-11-23 12:04:01 +01:00
Émilie Feral
4dda66e58d
[escher] AlternateEmptyViewController: give the delegate the opportunity
...
to choose the view to display when empty
2018-11-23 12:04:01 +01:00
Émilie Feral
7035ad01ae
[escher] Toolbox: title is a message instead of a const char
2018-11-23 12:04:00 +01:00