Commit Graph

13 Commits

Author SHA1 Message Date
Tomasz Gąsior 986655d6aa Use XedStatusMenuButton instead -ComboBox in statusbar, for consistency. 2018-07-22 20:13:26 +02:00
Tomasz Gąsior 06a20265ea Use popover with highlight selector instead loooong menu in statusbar. 2018-07-22 16:49:55 +02:00
Tomasz Gąsior ac9d0a9343 XedWindow cleanup. 2018-07-21 22:56:14 +02:00
JosephMcc 78ca6d13e0 xed-window: Rework the fullscreen toolbar
The animation used for hiding/showing the fullscreen toolbar is totally broken
under HiDPI. Port to GtkRevealer and GtkEventBox to get the proper behaviour.
2018-02-05 01:03:12 -08:00
JosephMcc ce59112fd1 Minimap (#175)
* Add a minimap

Add support for GtkSourceViews SourceMap object. Add both a default setting for
new files to the preferences dialog and a menu item to allow temporarily
disabling it in any view.

* Require gtk and gtksourceview 3.18

* load custom css

We can use this to make small tweaks to the interface so every theme doesn't
need to add specific support.

Make use of this new css to clean up the styling of the new overview map frame
a bit.
2017-09-25 16:01:27 +02:00
JosephMcc 4add4da97a Use GtkApplication inhibit API
This will help prevent users from inadvertently loosing data when logging out
with unsaved files.

Based on: 05918e07ce
2017-04-23 18:22:54 -07:00
JosephMcc 490303557a Revamp our handling of settings
The current handling of settings is a very roundabout leftover from the days of
gconf. Simplify and handle the setting more directly. At the same time move
handling of saving the window state to gsettings instead of saving it to a
config file.
2017-01-16 15:41:07 -08:00
JosephMcc f3791ef8d2 Add view menu entry for word wrap
Adds an entry to the "View" menu that allows temporarily overriding the word
wrap settings in the preferences.
2016-12-30 03:17:05 -08:00
JosephMcc c78bf46d38 Add buttons to the statusbar to show/hide the panels 2016-12-26 23:43:42 -08:00
JosephMcc b52cc3f037 Port plugin system to libpeas
Adapted from:
52fd78ddfc
2016-12-26 12:53:23 -08:00
JosephMcc 94dae95b95 toolbar: Revamp the main toolbar style
Get rid of the text and switch all icons to slightly smaller symoblic icons.
This will allow it to behave much better with dark gtk themes. Replace the
recent documents button with a button for file open. Changing the style of
the buttons on the main toolbar also effects the fullscreen toolbar so
update this as well to use a matching layout.
2016-10-04 11:32:30 -07:00
Clement Lefebvre f4236351ae Give Xed a Sublime-like searchbar
The search dialog is replaced with a searchbar similar to the one used in Sublime.

The following features are implicit and therefore removed:
  - "incremental search"
  - "remove highlights"
  - "parse \n characters"

Code style is applied to impacted files (should have been done in a separate commit but it was being discussed during WIP and the new committed code followed neither the new style nor the old).
2016-09-20 16:32:54 +01:00
Clement Lefebvre 16eacdc3f4 Renamed Xedit -> Xed (avoid name clash with x11-apps's xedit) 2016-02-04 09:20:42 +00:00