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
dccc645430
Add paragraphs stat
2019-04-19 11:26:21 +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
e76b85e837
Add official markdown mime type support in Recents
2019-04-19 11:23:16 +01:00
Manuel Genovés
83c15361ea
v2.2.0-beta1 install scripts
2019-04-17 21:34:49 +02:00
Gonçalo Silva
432ef9d55e
Set tooltips on the whole button, not just the icon
2019-04-17 02:54:55 +01:00
Gonçalo Silva
53d3fc6026
Use symbolic icon for input format documentation
2019-04-17 02:52:56 +01:00
Gonçalo Silva
fc824fc2ef
Add missing tooltip for search's regular expression option
2019-04-17 02:13:00 +01:00
Gonçalo Silva
41377c24bb
Further remove unecessary prefixes
2019-04-15 03:01:59 +01:00
Gonçalo Silva
9f41bfac8d
Add input format setting
...
Supports Pandoc's Markdown, Commonmark, GitHub Flavored Markdown,
MultiMarkdown and Plain Markdown.
Fixes #17
Fixes #122
2019-04-15 02:50:28 +01:00
Gonçalo Silva
351f7834a5
Remove ODT as default export option
...
Subjective, but a sub-window with 6 buttons on the top row is crowdy.
2019-04-15 02:50:28 +01:00
Gonçalo Silva
0c94f0c168
Fix padding/margins in export dialog UI
2019-04-15 02:50:28 +01:00
Gonçalo Silva
13ea2cc8fe
Make advanced options match defaults, fix capitalization/typos
...
Having advanced options match defaults helps as a self-documenting
reference.
2019-04-15 02:50:14 +01:00
Gonçalo Silva
13535ab839
Delete unused UI files
2019-04-15 02:50:14 +01:00
Gonçalo Silva
4b32617ca7
Update pandoc help link
2019-04-15 02:50:14 +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
Gonçalo Silva
30df10cab6
Allow following system theme *and* forcing light / dark theme
2019-04-11 03:42:15 +01:00
Gonçalo Silva
7a9b878d02
Copy improvements
...
Smaller improvements around capitalization, tense and style.
2019-04-11 03:42:15 +01:00
Manuel Genovés
30649551b6
Fix and improve shortcuts
2019-04-06 20:32:48 +02:00
Manuel Genovés
23c1b2e42a
Fix and improve shortcuts
2019-04-06 20:27:42 +02:00
Manuel Genovés
80270a45ee
Fix and improve shortcuts
2019-04-06 20:19:53 +02:00
Manuel Genovés
c91d8018dc
moving files to better suited folders
2019-04-01 21:29:29 +02:00
Gonçalo Silva
3f87bd1d22
Add Hemingway Mode
...
Closes #40
2019-03-27 02:29:29 +00: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
Gonçalo Silva
ea566b8d73
Make preview responsive
...
Uses the same breakpoints as the text editor.
2019-03-26 15:07:11 +00:00
Gonçalo Silva
bbc4cec049
Add font assets
2019-03-24 21:52:52 +00:00
Gonçalo Silva
da7bf940f3
Uniformize font-face font-family declarations
2019-03-24 21:37:05 +00:00
Gonçalo Silva
928254e992
Fix, cleanup and improve preview CSS
...
Fixes #121 . Additional, fixes include:
* Light tables, title/hr underlines, code and quote blocks on the
dark theme
* Scrollbar not rendering on top of content
Cleanup includes:
* Removal of css rules that are internal to github (eg. octicon)
* Merging of duplicate or overridden declarations
* De-duplicating light and dark theme using import + custom properties
Improvements include:
* Using Fira / Fira Mono for rendering (as is done in the text editor)
* Using relative units as much as possible, making it much easier to
use a responsive design in the future
* Using the same background color for a more seamless experience
* Adjusting color contrast for the background changes, ensuring proper
accessibility while still using GitHub's style
2019-03-24 03:50:08 +00:00
Manuel Genovés
741cda968a
v2.1.5
2019-03-23 00:47:26 +01:00
Manuel Genovés
284d582654
update translators data and uw version
2019-03-21 23:25:48 +01:00
somas95
8372eee85c
Merge branch 'master' into refactoring
2019-03-09 20:43:48 +01:00
somas95
d12f8b6ef7
Merge pull request #117 from UberWriter/ui
...
Ui
2019-03-09 20:38:21 +01:00
Manuel Genovés
fb47539dd8
initial theme stylesheets support
2019-03-09 19:53:28 +01:00
Manuel Genovés
5618ff38b6
fix background color in dark mode preview for code blocks
2019-03-09 14:50:12 +01:00
Manuel Genovés
a1a50d4890
Remember autospellchek status
2019-01-27 16:42:36 +01:00
Manuel Genovés
3375349d6b
allow blank list elements
2019-01-26 20:22:48 +01:00
Manuel Genovés
a2661be802
reorder things
2018-12-14 20:06:38 +01:00
Manuel Genovés
56e718be15
allow disabling overlay within preferences window
2018-12-14 20:01:00 +01:00
somas95
226b4e81dc
Merge pull request #96 from UberWriter/styles
...
update styles
2018-12-06 14:51:36 +01:00
Manuel Genovés
4bb6862f0e
make headerbar autohidding toggeable
2018-12-06 14:29:10 +01:00
Manuel Genovés
47c169882e
update styles
2018-12-06 14:22:07 +01:00
Manuel Genovés
772b1ba6db
Make the overlay toggable
2018-12-05 20:27:19 +01:00
Manuel Genovés
65f2f987f7
added domain to menu ui file
2018-11-28 22:28:10 +01:00