Manuel Genovés
48e48d95de
add autohide-headerbar toggle on settings
2019-12-09 02:14:52 +01:00
Manuel Genovés
8ac8728e3b
implement hack to fade away the headerbar
2019-11-23 02:11:32 +01:00
Manuel Genovés
f766c3703d
add revealer to the headerbar default class
2019-11-23 02:09:22 +01:00
Manuel Genovés
b5260e3906
add curved corners for focus mode
2019-11-23 02:08:47 +01:00
Manuel Genovés
0e2f731ff4
Use a .ui file to define the headerbar
...
This makes all the headerbar code more readable and easier to tweak
2019-11-11 01:27:39 +01:00
Manuel Genovés
f4809faf19
Merge branch 'master'
2019-11-05 12:28:08 +01:00
Manuel Genovés
88f216161b
Add @goncalossilva to the authors section on About
2019-11-05 00:04:40 +01:00
Manuel Genovés
3af59e2c1d
initial port to gresources
2019-11-04 23:05:03 +01:00
Manuel Genovés
379bb91619
fix icon paths
2019-10-29 01:30:37 +01:00
Manuel Genovés
8bbe3c9044
work on the meson port by @bilelmoussaoui
2019-10-28 21:40:51 +01:00
Manuel Genovés
26077831fa
fix typo in tutorial file
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
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
Bilal Elmoussaoui
16b5e8821f
Build system: init porting to meson
2019-07-01 12:43:26 +02:00
Manuel Genovés
f0f2f05670
Merge branch 'master'
2019-05-18 18:51:45 +02:00
Gonçalo Silva
832b3e3d38
Remove unused file
2019-05-17 06:59:50 +01:00
Manuel Genovés
b55f4dbecd
Added @goncalossilva to the contributor's list
2019-05-12 21:26:44 +02:00
Manuel Genovés
7e34e9cc62
Merge branch 'master'
2019-05-12 21:24:30 +02:00
Manuel Genovés
bc24251461
even with master
2019-05-04 21:15:24 +02:00
Gonçalo Silva
939edcc762
Allow disabling scroll sync
2019-05-04 16:33:09 +01:00
Gonçalo Silva
e533bf190d
Remove unused vadjustment property
2019-05-04 16:33:09 +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
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
Manuel Genovés
97b4963fa7
Add margin to recents popover
2019-04-14 14:16:10 +02: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