22 Commits

Author SHA1 Message Date
6237161a28 Enable logging in tests
It makes it easier to diagnose issues on the CI
2022-02-20 01:24:07 +05:30
fb2ebcdd6c Reuse: Add licenseing to the tests 2021-09-15 13:11:50 +02:00
5a9531778b MarkdownToolbar: Add more tests
I was sure this would fail, but it passes. Why am I getting errors in
Sentry!!
2021-08-10 18:25:17 +02:00
1ac0627f13 MarkdownToolbar: Make it work for selected text
Fixes #522
2021-08-02 10:40:27 +02:00
72e9de29de Move editor related code into its folder
I'm trying to separate the code based on the domain so that this code
can be easily reused in other projects
2021-07-30 11:12:00 +02:00
7b93cfb919 MarkdownToolbar: make it always indent the start of the line 2021-07-13 18:16:31 +02:00
462279fef7 Markdown Toolbar: Add tab/backtab on long press of > or < 2021-07-07 18:18:23 +02:00
ec600198a3 Port a few tests to null safety 2021-05-17 16:43:54 +02:00
d008f0d982 First version of dart migrate
Most of the files haven't been migrated. Lets work on this bit by bit
2021-04-10 22:18:35 +02:00
9ec33842bc MarkdownToolbar: Remove old block tag
If a text starts with '# ' and we click on the '- ' button, it should
remove the old tag '#' and replace it with '- '. Before this it would
have done something like this '- #'
2020-09-02 00:00:53 +02:00
fefe354e83 MarkdownToolbar: Navigate across multiple lines properly 2020-09-01 23:32:14 +02:00
850e9c7826 MarkdownToolBar: Make bold work with newlines 2020-08-15 12:36:13 +02:00
22985ea500 MarkdownToolbar: Implement navigation between words 2020-08-15 11:58:39 +02:00
745d59e570 MarkdownToolbar: Add buttons to navigate between words 2020-08-14 22:00:34 +02:00
440ee96639 MarkdownToolbar: Bold: Add more tests 2020-08-14 21:21:08 +02:00
c6d5ebc0b2 MarkdownToolbar: Add tests for surrounding the current word with ** 2020-08-14 21:17:29 +02:00
2fcdfa0d6c Note Backlinks: Use the linkResolver
The backlinks should use the same algorithm for determining the links as
is used when clicking on a link.
2020-08-14 16:44:54 +02:00
c38f823ae3 MarkdownToolBar: Test h1 removal
And fix cursor position after removing of the header
2020-08-13 01:14:06 +02:00
8668b88a95 MarkdownToolBar: Test h1 removal 2020-08-13 00:54:24 +02:00
ed08672ee2 Simplify tests 2020-08-13 00:51:54 +02:00
d4b201f7ef MarkdownToolbar: Replace current line
Add a few more tests
2020-08-13 00:44:12 +02:00
f3ad0144c5 Add a test for MarkdownToolbar's replace current line
The logic is non trivial
2020-08-13 00:29:17 +02:00