Manuel Genovés
29d2af97fa
Update all references of the app's name
...
from uberwriter to apostrophe, but the appIds
2020-03-15 01:11:37 +01:00
Manuel Genovés
a02c61ec7e
Implement theme switcher
...
auth.: @Exalm
2020-02-25 13:32:10 +01:00
Manuel Genovés
28fc4e0a72
make preview layout switcher menu dynamic
2020-02-12 12:35:40 +01:00
Manuel Genovés
151809ae9b
add background color to inline buttons
2019-12-09 02:15:09 +01:00
Manuel Genovés
b5260e3906
add curved corners for focus mode
2019-11-23 02:08:47 +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
eec633437b
Improve inline preview
...
- Uses commonly defined regexp
- Removed dependency on gnome-web-photo, use WebView instead
- Improved lexicon rendering
2019-07-25 00:16:26 +01:00
Gonçalo Silva
8ae2dfcb0b
Fix preview CSS
2019-05-04 16:33:09 +01:00
Gonçalo Silva
86cffc40ec
Improve full-width preview workflow
2019-05-04 16:33:09 +01:00
Gonçalo Silva
65e7028843
Add toggle between various preview modes
...
Including:
* Full-width (original)
* Half-width
* Half-height
* Windowed
2019-05-04 16:33:09 +01:00
Gonçalo Silva
2cb161307c
Improve side-by-side experience
...
Includes multiple improvements to scroll syncing, preview re-render,
layout separation, etc
2019-05-04 16:33:09 +01:00
Gonçalo Silva
5e770510ee
Add support for side-by-side preview
...
Fixes #59
2019-05-04 16:33:09 +01:00
Gonçalo Silva
bc23fa9b0b
Make characters-per-line configurable
...
This is in preparation for the side-by-side preview, where the editor
needs to become more adaptable. It indirectly fixes #141 , as users can
now change the desired line-length, although there is no UI setting for
it.
2019-05-04 16:33:09 +01:00
Gonçalo Silva
63b20d0f3c
Match breakpoints
2019-05-04 16:33:09 +01:00
Gonçalo Silva
878bbdb67c
Cap preview width similar to GitHub
...
It is presumed that this was not included in the original stylesheets
(which were heavily based on GitHub's) because it is set in JS.
2019-04-21 01:50:49 +01:00
Gonçalo Silva
ddcf76df47
Set text view padding in Python instead of CSS
...
Otherwise scrolling calculations will be slightly offset, as the CSS
padding is added *on top* of any other margin.
2019-04-21 01:50:49 +01:00
Gonçalo Silva
81f9104d9f
Split gtk and web CSS into separate directories
...
Helps clean up the CSS selection on the export dialog, as only Web CSS
is useful in that scenario.
2019-04-21 01:50:49 +01:00
Gonçalo Silva
e87de1424e
Remove hard-coding from Gtk-related CSS
...
It's unecessary, since Adwaita and most popular themes provide a defined
set of public colors.
For reference, see: https://github.com/GNOME/gtk/blob/master/gtk/theme/Adwaita/_colors-public.scss
2019-04-21 01:32:26 +01:00
Gonçalo Silva
c19f57f64b
Add statistics for sentences and read time, allow user to toggle default
...
Fixes #63
2019-04-19 11:23:16 +01:00
Gonçalo Silva
6688eb259e
Refactor textview / textbuffer into separate modules
...
Changes include:
* Much better encapsulation of textview/textbuffer, with each isolated
responsibility living independently on its own class/file.
* Less code overall
* Various small fixes around the components involved, such as:
* Indentation of nested lists (fixes #120 )
* Unwanted scroll on select all (ctrl+a)
* Removal of unused code around the components involved
* Fixes for scrollbar location, now at the edge of the window
2019-04-13 02:00:13 +01:00
Manuel Genovés
23c1b2e42a
Fix and improve shortcuts
2019-04-06 20:27:42 +02:00
Gonçalo Silva
95e6d89514
Add support for HighContrast and HighContrastInverse themes
2019-03-26 15:09:21 +00:00
Gonçalo Silva
52f1c9f692
Add back support for Arc, Arc-Darker and Arc-Dark themes
2019-03-26 15:09:21 +00:00
Gonçalo Silva
e7359c5776
Encapsulate theme handling
...
The Theme class encapsulates theme handling, by listing default themes
and providing means to access their gtk/web css.
Besides cleaning things up, it makes it easy to support custom themes
in the future. The user just needs to provide two CSS files, and we'll
be able to instantiate and use a Theme from that.
2019-03-26 15:09:21 +00:00