Guilherme C. Matuella
3e576aeb9a
Fixes `Document.toJson` to map from raw operations ( #162 )
4 years ago
Xin Yao
7cdbdd9a6a
Make attribute registry ordered
4 years ago
Xin Yao
900d0f2489
Fix: Indented position not holding while editing
4 years ago
Xin Yao
f7d47a12db
Add comments to AutoExitBlockRule
4 years ago
Xin Yao
80d918ef9c
Update PreserveBlockStyleOnInsertRule to apply all block styles
4 years ago
Xin Yao
df602cfa9b
Format code
4 years ago
Xin Yao
bc5eb86a8f
Indent attribute is consider block but may have null value
4 years ago
Xin Yao
b6763fe2fc
Revert "Indent attribute is consider block but may have null value"
...
This reverts commit 4c5f72826c
.
4 years ago
Xin Yao
4c5f72826c
Indent attribute is consider block but may have null value
4 years ago
Xin Yao
e4cf28d054
Update getIndentLevel
4 years ago
Xun Gong
049ada2feb
adjustable toolbar button & bar size
4 years ago
Xun Gong
273340a1f6
Pass getTextPosition instead of passing the tap text position to be more flexible; optional ignoreFocus on replaceText
4 years ago
Thea Choem
14817ec752
close #149 underline strike through color according to text color ( #150 )
4 years ago
Xin Yao
63c2ef9d0e
Upgrade to 1.2.0
4 years ago
Till Friebe
3080fc2ad1
Fix image button cancel causes crash ( #145 )
...
I also restructured the code slightly to make it more readable
and fixed some minor bugs in the desktop and web version.
I also noticed that the image button doesn't work in the desktop
version as well as in the web version. This is not part of the PR.
Closes #137 .
4 years ago
Xun Gong
b7063f00ba
toolbar button fillColor
4 years ago
Xun Gong
e08009e3ff
len fix
4 years ago
Xun Gong
106e54c3fc
add scrollBottomInset
4 years ago
Till Friebe
8c663ad9f5
Add comments from Zefyr to nodes folder
...
Since quite a lot of code was taken from Zefyr, the license should
be changed to BSD to meet the requirements of Zefyr.
4 years ago
Till Friebe
873bfbcee1
Sort constructors first
4 years ago
Till Friebe
483dba0e4a
Remove unnecessary string interpolations
4 years ago
Till Friebe
5bab918860
Prefer interpolation to compose strings
...
Using interpolation when composing strings and values is usually
easier to write and read than concatenation.
4 years ago
Till Friebe
5c18ca1dc3
Prefer int literals
4 years ago
Till Friebe
32b6c9169a
Prefer initializing formals
4 years ago
Till Friebe
78594aa266
Cascade invocations
...
Use the cascading style when succesively invoking methods on the
same reference.
4 years ago
Till Friebe
0a136edb86
Avoid void async
...
When declaring an async method or function which does not return
a value, declare that it returns Future and not just void.
4 years ago
Till Friebe
6c31fb1bc3
Avoid types on closure parameters
...
Annotating types for function expression parameters is usually
unnecessary because the parameter types can almost always be
inferred from the context, thus making the practice redundant.
4 years ago
Till Friebe
15a2f1d76f
Prefer const declarations
...
Const declarations are more hot-reload friendly and allow to use
const constructors if an instantiation references this declaration.
4 years ago
Till Friebe
bc494bc50f
Prefer final
...
Declaring variables as final when possible is a good practice
because it helps avoid accidental reassignments and allows the
compiler to do optimizations.
4 years ago
Till Friebe
31ec14c114
Prefer relative imports
...
This streamlines our imports.
4 years ago
Till Friebe
7cba9a8523
Fix height of empty line bug ( #141 )
4 years ago
Xun Gong
b68fc5a465
tap handles
4 years ago
Xin Yao
041d24cea0
Use widget.enableInteractiveSelection for copy/selectAll in ToobarOptions
4 years ago
Xin Yao
41056bcc4c
Revert " ☝️ Update deprecated code ( #136 )"
...
This reverts commit d62f15d889
.
4 years ago
Jeremie Corpinot
d62f15d889
☝️ Update deprecated code ( #136 )
4 years ago
Gagan Yadav
2cbc99287b
Match new header buttons UI to ToggleStyleButtons. ( #135 )
4 years ago
Xin Yao
96b5be1518
Add style for leading
4 years ago
Gagan Yadav
2f550d5e85
Replace header dropdown with buttons ( #132 )
...
* Replace header dropdown with buttons
* variable name fix and code format
Co-authored-by: Gagan <gaganyadav80@protonmail.com>
4 years ago
Xin Yao
084adcb1e7
Refactor code
4 years ago
Xin Yao
8ab586c318
Fix text selection in read-only mode
4 years ago
Xin Yao
53eaf34ad9
Revert change in openConnectionIfNeeded for readonly mode
4 years ago
hyouuu
047d0f729b
default color, Document.fromDelta, fix isItCut null check ( #123 )
...
* default color, Document.fromDelta, fix isItCut null check
* fix merge conflict
4 years ago
Xin Yao
f0dcca00d9
Readonly mode - temporary hack to dismiss keyboard
4 years ago
Xin Yao
5b9fb52804
Make showCursor default to true
4 years ago
Xin Yao
63a616e7eb
Remove universal_html dependency
4 years ago
Xin Yao
2bf7b8b585
Enable "Select", "Select All" and "Copy" in read-only mode
4 years ago
Till Friebe
977f94b347
Fix "Show toolbar" bug ( #120 )
4 years ago
Till Friebe
4c16af4420
Remove unnecessary parenthesis ( #118 )
4 years ago
Till Friebe
dfeae914b1
Prefer const constructors in immutables ( #117 )
4 years ago
Till Friebe
d6b21586a4
Prefer const constructors ( #116 )
4 years ago