After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 726739 - use a popover with line/col info in statusbar
use a popover with line/col info in statusbar
Status: RESOLVED FIXED
Product: gedit
Classification: Applications
Component: general
git master
Other Linux
: Normal enhancement
: ---
Assigned To: Gedit maintainers
Gedit maintainers
Depends on:
Blocks:
 
 
Reported: 2014-03-19 20:04 UTC by sébastien lafargue
Modified: 2014-04-16 18:51 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
[PATCH 1] Add a gsettings for the last wrapping split mode (5.05 KB, patch)
2014-03-19 20:06 UTC, sébastien lafargue
none Details | Review
[PATCH 2] line/col popover menu (13.86 KB, patch)
2014-03-19 20:07 UTC, sébastien lafargue
none Details | Review

Description sébastien lafargue 2014-03-19 20:04:59 UTC
The line/col info in statusbar is enhanced with a popover showing :

 - Display line numbers checkbox
 - Display right margin checkbox
 - Highlight current line checkbox
 - Text wrapping checkbox

The text wrapping split mode is now retained in gsettings so that even with text wrapping disabled, we still memorize the last split mode used.

These modifications comes in two patches to apply in order.
Comment 1 sébastien lafargue 2014-03-19 20:06:30 UTC
Created attachment 272430 [details] [review]
[PATCH 1] Add a gsettings for the last wrapping split mode

The last split mode is store in a static var
but if we set wrapping mode off, this state is lost.
Comment 2 sébastien lafargue 2014-03-19 20:07:21 UTC
Created attachment 272431 [details] [review]
[PATCH 2] line/col popover menu
Comment 3 sébastien lafargue 2014-04-16 18:51:34 UTC
attachment (id=272430) pushed as f08678b : 
Add a gsettings for the last wrapping split mode

attachment (id=272431) pushed as 8832427:
Statusbar: line/col popover menu