Commit graph

122 commits

Author SHA1 Message Date
TrianguloY
818a96cdfb Indentation on TAB key press
Tab + nothing selected -> Insert '\t'
Tab + selection -> Indent selected lines
Shift + tab (with or without selection) -> Unindent selected lines
2019-05-03 14:59:39 +02:00
Pierrot
f131f836ed Improve the dot indicator rendering, and change the default values. It fixes the clipping seen with hairline stroking (width=0 or 1). 2019-05-01 10:08:01 +02:00
Pierrot
b3e8e721f9 Tweaks for the folder tap outside option: let the event traverse all layers (and close all folders). Set this option to true in the default setup. 2019-05-01 09:50:31 +02:00
Pierrot
782406cb58 Merge scriptEditor branch 2019-04-29 10:39:09 +02:00
Pierrot
e01fb0772b New branch V14.3-beta7 2019-04-29 10:03:50 +02:00
Pierrot
fcadc31f4c Foreground service and associated notification on Android. Not sure about this as the notification is never shown on the emulator. 2019-04-29 09:57:49 +02:00
TrianguloY
fe72f6e712 Restore setText 2019-04-17 13:58:28 +02:00
TrianguloY
ee92464f1e Cleanup (android studio was notifying a lot)
-Removed unnecessary casts
-Removed unnecessary setTexts (are set from the xml)
-Changed Preferences#commit() with Preferences#apply()
2019-04-09 23:40:26 +02:00
TrianguloY
96c9b3ffef Checkbox to enable/disable autoindentation 2019-04-09 23:27:47 +02:00
TrianguloY
5b715fc6b4 Fix crash when searching from end of file. 2019-04-09 23:00:08 +02:00
TrianguloY
4b0d443d10 Extracted strings from the search feature. 2019-04-09 20:55:20 +02:00
TrianguloY
088329a9f3 Replaced the ascii arrows with typeface arrow icons 2019-04-09 20:12:10 +02:00
Pierrot
56c94afa27 V14.3-beta6 2019-04-09 06:56:23 +02:00
Pierrot
c04acecb23 Workaround for crash 2019-04-09 06:54:57 +02:00
Pierrot
d1af8b7fa5 Fix default tapOutsideClose flah value 2019-04-08 07:43:50 +02:00
Pierrot
91e52d6d98 Prepare 14.3-beta6 branch (might be renamed if 14.3-beta5 ends up being the next stable release) 2019-04-07 11:19:35 +02:00
Pierrot
283aca4426 Add a map of currently available icons 2019-04-07 11:16:54 +02:00
Pierrot
cd2b329183 Add arrow icons 2019-04-07 11:14:46 +02:00
Pierrot
3718ddabc2 Add the Material-Design-Iconic-Font 2019-04-07 11:04:18 +02:00
Pierrot
a77d46ea74 V14.3-beta5 2019-04-07 10:36:27 +02:00
TrianguloY
7f7ce7f4c5 Added search feature.
Now the shortcutButtons can use the icon typeface.
2019-04-05 21:00:41 +02:00
TrianguloY
f05490e9ba Reworked Indentation class to follow better conventions (I hope) and allow enable/disable of AutoIndentation.
Added explanations.
Redefined variables.
Extracted TextWatcher functionality from core.
2019-04-05 14:13:43 +02:00
TrianguloY
c8257df3b6 Remove intent even if less than defined size 2019-04-05 14:06:37 +02:00
Pierrot
bdf637a6c1 Tap outside of folder to close it (with a setting, off by default for compatibility with existing setups) 2019-04-05 10:29:11 +02:00
Pierrot
89120de6d9 Use a second build config switch for the unhandled exception catcher 2019-04-05 08:08:27 +02:00
Pierrot
c2ac9e3469 Remove deprecated strings, this is not needed anymore to keep them in the app since the latest translation code doesn't use public ids anymore. 2019-04-05 08:06:25 +02:00
TrianguloY
e80431b810 Fixed some selected lines were not indented
Cleanup
2019-04-03 18:05:54 +02:00
TrianguloY
bc1176eeeb Moved Indentation functions to new Class for better modularization 2019-04-03 17:47:34 +02:00
TrianguloY
d11f5aff26 Added comments
(removed use of external variable inside indentation function, to help moving the functionality to a new class)
2019-04-03 17:29:58 +02:00
TrianguloY
45a3b1680c Added missing action buttons from previous commit.
When using the 'modify indent' buttons, all the lines selected are modified.
2019-04-03 16:48:23 +02:00
Pierrot
b664e89946 Merge branch '14.3-beta5' of git.lightninglauncher.com:lightning-dev/lightning_launcher into 14.3-beta5 2019-04-03 15:10:22 +02:00
Pierrot
a60e435fb3 Improve the handling of display cutouts / navbar size, although this is not yet satisfying. 2019-04-03 14:59:54 +02:00
Pierrot
be4ade6a56 Fix broken shortcuts when updating some apps 2019-04-03 14:59:04 +02:00
Pierrot
8763373613 Merge branch 'fix_pluginService' of lightning-dev/lightning_launcher into 14.3-beta5 2019-04-02 21:34:37 +02:00
f43nd1r
4367b6a846 make description fit into android dialog sentence 2019-04-02 03:51:04 +02:00
f43nd1r
ab2403a4ed fix permission 2019-04-02 03:50:04 +02:00
TrianguloY
9a7b7fbde2 Action buttons: increase/decrease indent 2019-04-01 22:58:39 +02:00
Pierrot
73c8f0c82f Fix for the navigation bar size 2019-04-01 13:35:33 +02:00
Pierrot
a123af2dfc Upgrade to SDK 28 (some build files, some deprecated and removed APIs) 2019-04-01 13:35:12 +02:00
TrianguloY
105c935cca fix for incorrect check when tabs present 2019-03-31 21:13:36 +02:00
TrianguloY
aa6547fbbd Avoid infinite 'onTextChanged' events 2019-03-31 20:49:43 +02:00
TrianguloY
7a3ec59da4 Improved autoindentation with brackets 2019-03-29 00:40:32 +01:00
Pierrot
d10b0b6516 Remove the invalid use of a flag which is not defined for the target platform in this code branch. 2019-03-25 16:07:22 +01:00
Pierrot
e9cdffcacf Merge branch 'scriptAPI' of lightning-dev/lightning_launcher into 14.3-beta5 2019-03-25 15:51:14 +01:00
TrianguloY
66564f381b shortcut buttons are placed outside the editor 2019-03-23 18:13:27 +01:00
TrianguloY
fbf32b7c64 Remove deprecated class 'array' from autocompletion
Some other import changes (by android studio)
2019-03-23 18:12:25 +01:00
TrianguloY
61881cc835 Added shortcut buttons. Currently two types: text and keys. 2019-03-23 13:18:21 +01:00
Pierrot
7c8f723002 Light status and navigation bars 2019-03-22 09:30:27 +01:00
Pierrot
4a513c18c0 New beta branch 2019-03-22 09:28:50 +01:00
TrianguloY
4bd3f7635d Automatic indentation on newline.
When you enter a newline, spaces are inserted automatically based on the indent of the previous line and the last character.
This is not a final change, more of a proof of concept regarding the script editor. More to come! (hopefully)
2019-03-18 20:41:59 +01:00