draw whitespace for selected lines [$105]

Bug #1303562 reported by Danielle Foré
20
This bug affects 4 people
Affects Status Importance Assigned to Milestone
GtkSourceView
Confirmed
Wishlist
Scratch
Fix Committed
Wishlist
David Hewitt

Bug Description

Drawing spaces for every line all the time is a little overwhelming. But, Sublime is super smart and draws spaces for selected lines. We should be smart too.

Tags: bounty

Related branches

Avi Romanoff (aroman)
summary: - draw spaces for selected lines
+ draw whitespace for selected lines
Changed in scratch:
status: New → Confirmed
Changed in gtksourceview:
importance: Unknown → Wishlist
status: Unknown → New
Changed in gtksourceview:
status: New → Confirmed
Revision history for this message
Robert Roth (evfool) wrote : Re: draw whitespace for selected lines

Upstream question: why is it useful to draw spaces only for the selected text?

Revision history for this message
Akshay Shekher (voldyman) wrote :

In sublime i can see if the selected text uses spaces or tabs and how many levels of indentation is present.

In the attached screenshot you can see that on line 48 i use spaces other lines are using tabs

Revision history for this message
Sergey "Shnatsel" Davidoff (shnatsel) wrote :

FWIW I personally prefer to see all the indentation in the file just in case it's inconsistent (which, sadly, happens rather often). So please keep an option for showing all the whitespace symbols in Scratch.

Revision history for this message
Cody Garver (codygarver) wrote : Re: draw whitespace for selected lines [$100]
summary: - draw whitespace for selected lines
+ draw whitespace for selected lines [$100]
tags: added: bounty
summary: - draw whitespace for selected lines [$100]
+ draw whitespace for selected lines [$105]
Revision history for this message
Cassidy James Blaede (cassidyjames) wrote :

One reason that someone commented on the upstream bug is that "The reason that I see is to be able to know exactly what is copied or deleted." Another reason is that, as Dan pointed out, showing all whitespace all the time can be overwhelming, but showing whitespace in highlighted text is a handy way of checking the whitespace when and where you need to.

Changed in scratch:
assignee: nobody → David Hewitt (davidmhewitt)
status: Confirmed → In Progress
Changed in scratch:
status: In Progress → Fix Committed
milestone: none → juno-beta1
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.