Manuel Genovés
|
d1640619f9
|
Add missing licenses
|
2020-02-02 13:22:19 +01:00 |
Manuel Genovés
|
0647b41340
|
Use io instead of codec
Drop the deprecated codec module for parsing files.
Better handling of file URIs
|
2020-01-24 21:24:44 +01:00 |
Thomas Lavend'Homme
|
01d124aea5
|
Do not follow links in the preview
|
2020-01-21 12:02:02 +01:00 |
somas95
|
d246877a17
|
Merge pull request #187 from lavendthomas/bf.shifttab
Fix Shift-Tab Behaviour
|
2019-12-25 17:29:44 +01:00 |
Manuel Genovés
|
bde7c0ecb8
|
Linting
fix some variable names/whitespace/private methods
|
2019-12-25 03:02:29 +01:00 |
somas95
|
daa72b4779
|
Merge pull request #186 from lavendthomas/ft.regex
Improve emphasis behaviour
|
2019-12-25 02:00:23 +01:00 |
Thomas Lavend'Homme
|
5cae9eb68c
|
Fix WARNING: __record_undoable() 'Recording a change without a user action.'
|
2019-12-23 19:34:26 -05:00 |
Thomas Lavend'Homme
|
e4b5952ec2
|
Use TextIter to remove last \t
|
2019-12-23 12:43:05 -05:00 |
Thomas Lavend'Homme
|
7734e9410e
|
Make Shift-Tab remove the last tab instead of adding one
Signed-off-by: Thomas Lavend'Homme <lavendthomas@outlook.be>
|
2019-12-23 12:15:45 -05:00 |
Thomas Lavend'Homme
|
2abb2af472
|
Impove regex for emphasis
|
2019-12-22 10:06:35 -05:00 |
Manuel Genovés
|
234eca06a7
|
Fix DnD for images, text and links
|
2019-12-22 15:08:03 +01:00 |
Manuel Genovés
|
5615a4c3d7
|
Fix error when trying to export some formats
If we return "None" , we can't concatenate it to a str in a3a948e434/uberwriter/export_dialog.py (L277)
|
2019-12-22 02:51:40 +01:00 |
Manuel Genovés
|
2fec09999b
|
Fix paper size condition
Because the way popen works we need to use a "=" on the argument (otherwise the space splits the argument in two elements)
|
2019-12-22 02:45:53 +01:00 |
Manuel Genovés
|
d05d0c3bdc
|
Merge branch 'master' of git://github.com/lavendthomas/uberwriter into lavendthomas-master
|
2019-12-20 18:24:37 +01:00 |
Thomas Lavend'Homme
|
6edf041169
|
Impove text rendering in bullets
|
2019-12-15 12:14:08 -05:00 |
Thomas Lavend'Homme
|
0fce1bae77
|
Change paper size for odt and docx files
|
2019-12-14 21:26:50 -05:00 |
Thomas Lavend'Homme
|
bf73910483
|
Change paper size of exported PDF according to what's been chosen
|
2019-11-30 22:09:51 -05:00 |
Manuel Genovés
|
7606a55389
|
update OpenOffice -> LibreOffice
|
2019-11-29 13:29:19 +01:00 |
Manuel Genovés
|
17c20199f5
|
use A4 papersize by default
|
2019-11-29 13:28:19 +01:00 |
Manuel Genovés
|
3af59e2c1d
|
initial port to gresources
|
2019-11-04 23:05:03 +01:00 |
Manuel Genoves
|
ca0b458ca1
|
fix non flatpak data paths
|
2019-10-30 01:29:35 +01:00 |
Manuel Genoves
|
e39e515e6d
|
fix data path for non flatpak installs
|
2019-10-30 01:14:56 +01:00 |
Gonçalo Silva
|
ec2f33e248
|
Add 'url' regexp group to LINK_ALT
Enables inline preview.
|
2019-07-25 23:57:27 +01:00 |
Gonçalo Silva
|
3bb813895e
|
Fix warning when opening file
set/clear text should count as a single user action.
|
2019-07-25 00:18:33 +01:00 |
Gonçalo Silva
|
128ce54761
|
Handle inline code correctly
Inline code shouldn't have its "paragraph-background" set, as it's not a
block-level element.
|
2019-07-25 00:18:33 +01:00 |
Gonçalo Silva
|
b4696cda30
|
Don't scroll when opening documents, only when pasting text
|
2019-07-25 00:18:33 +01:00 |
Gonçalo Silva
|
05cdfe0599
|
Use CommonMark's regexp for autolink / autoemail
Ref: https://github.com/commonmark/commonmark.js/blob/master/lib/inlines.js#L62-L64
Also avoids special handling in stats counter.
|
2019-07-25 00:18:33 +01:00 |
Manuel Genovés
|
63ff2659fc
|
There is no necessity to strip + signs from URIS
Closes #171
|
2019-07-25 00:18:33 +01:00 |
Manuel Genovés
|
53a9f4ebbd
|
manage open_file errors
|
2019-07-25 00:18:33 +01:00 |
Manuel Genovés
|
3cae19c0cc
|
catch exporting errors.
Fixes #164
|
2019-07-25 00:18:33 +01:00 |
Manuel Genovés
|
3e661b8d9d
|
support https in the alt link markdown query
|
2019-07-25 00:18:33 +01:00 |
Manuel Genovés
|
300c386631
|
Added handling of alternate form of urls
|
2019-07-25 00:18:33 +01:00 |
Gonçalo Silva
|
7c3d4d9364
|
Adjust regex tests for CommonMark, improve inline regexp
|
2019-07-25 00:18:33 +01:00 |
Gonçalo Silva
|
23cddba0d0
|
Add shortcut for find and replace
Also renames "search" to "find" as most other Gtk apps.
|
2019-07-25 00:18:33 +01:00 |
Gonçalo Silva
|
859ad84524
|
Improve handling of bold italic
**_bolditalic_** and other mixed combinations now work.
|
2019-07-25 00:18:33 +01:00 |
Gonçalo Silva
|
7ea8f67216
|
Add code highlighting
Removes previously added indent. Reused for math.
|
2019-07-25 00:18:33 +01:00 |
Gonçalo Silva
|
bd2d78b86a
|
Add format inserts to the undo stack as single actions
Also fixes undoing list items.
|
2019-07-25 00:18:33 +01:00 |
Gonçalo Silva
|
0b6e84bf8c
|
Add search and replace to the undo stack as a single action
This is specially important for search and replace *all*.
|
2019-07-25 00:18:33 +01:00 |
Gonçalo Silva
|
aa3f5c3430
|
Remove unused file, reformat helpers
|
2019-07-25 00:18:33 +01:00 |
Gonçalo Silva
|
e3b99e823b
|
Undo support for begin-user-action and end-user-action
Allows keeping track of multiple changes within a single action together.
|
2019-07-25 00:18:07 +01:00 |
Gonçalo Silva
|
d9014b12e7
|
Open preview links in the browser
|
2019-07-25 00:18:07 +01:00 |
Gonçalo Silva
|
efb1a02f30
|
Use file name for link description and image caption
|
2019-07-25 00:18:07 +01:00 |
Gonçalo Silva
|
ef4009fcd6
|
Keep file:// prefix for drag & droped files
|
2019-07-25 00:18:07 +01:00 |
Gonçalo Silva
|
7c6d2c12a3
|
Fix erroneous unescaping of link uris
Unescaped links won't work when containing special characters.
|
2019-07-25 00:18:07 +01:00 |
Gonçalo Silva
|
1cc2fc5a4c
|
Fix presenting window after drag & drop
|
2019-07-25 00:18:07 +01:00 |
Manuel Genovés
|
adcb73b129
|
fix small regex errors in header queries
|
2019-07-25 00:18:07 +01:00 |
Manuel Genovés
|
c8ea808623
|
fix math REGEX expression
|
2019-07-25 00:18:07 +01:00 |
Gonçalo Silva
|
55e5cd3856
|
Use `selection_bound` instead of `insert` to markup/scroll
|
2019-07-25 00:16:26 +01:00 |
Gonçalo Silva
|
3fa56afaef
|
Reduce sync scrolling precision
High precision leads to micro-scrolling, and 1e-4 is more than enough.
|
2019-07-25 00:16:26 +01:00 |
Gonçalo Silva
|
55d82856c2
|
Fix list markup parsing
Subsequent list items were being erroneously discarded.
|
2019-07-25 00:16:26 +01:00 |