Is code pane should show secondary selection on any characters like spaces and tabs?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Is code pane should show secondary selection on any characters like spaces and tabs?

Denis Kudriashov
When you select single space on code pane all spaces in code become selected. To me it is look very weird.

If I'm not alone on this feeling we can integrate issue 16962

For more details current behavior is:
If you select "self", all "self"s in the code pane are selected with "secondary selection color"
If you select "." all dots are selected.
If you select a space-char all spacess are selected 
If you select a tab-char all tabs are selected ...

With my fix you will not see secondary selection on any separators (space ,tab).
It was my first impression when I start to navigate/select text by command left/right. And spaces selection during this process looks to me very bad. 
Reply | Threaded
Open this post in threaded view
|

Re: Is code pane should show secondary selection on any characters like spaces and tabs?

Marcus Denker-4
Yes, I think that would be good. The space selection is strange….
On 25 Nov 2015, at 13:09, Denis Kudriashov <[hidden email]> wrote:

When you select single space on code pane all spaces in code become selected. To me it is look very weird.

If I'm not alone on this feeling we can integrate issue 16962

For more details current behavior is:
If you select "self", all "self"s in the code pane are selected with "secondary selection color"
If you select "." all dots are selected.
If you select a space-char all spacess are selected 
If you select a tab-char all tabs are selected ...

With my fix you will not see secondary selection on any separators (space ,tab).
It was my first impression when I start to navigate/select text by command left/right. And spaces selection during this process looks to me very bad. 

Reply | Threaded
Open this post in threaded view
|

Re: Is code pane should show secondary selection on any characters like spaces and tabs?

Eliot Miranda-2
In reply to this post by Denis Kudriashov
Hi Denis,

    I think this is cool :). I'm anal enough to hate spaces hidden before tabs, but they're invisible...unless, selecting a space highlights all spaces in the method :)

(I also hate trailing white space; wish it weren't so prevalent)

_,,,^..^,,,_ (phone)

On Nov 25, 2015, at 8:09 AM, Denis Kudriashov <[hidden email]> wrote:

When you select single space on code pane all spaces in code become selected. To me it is look very weird.

If I'm not alone on this feeling we can integrate issue 16962

For more details current behavior is:
If you select "self", all "self"s in the code pane are selected with "secondary selection color"
If you select "." all dots are selected.
If you select a space-char all spacess are selected 
If you select a tab-char all tabs are selected ...

With my fix you will not see secondary selection on any separators (space ,tab).
It was my first impression when I start to navigate/select text by command left/right. And spaces selection during this process looks to me very bad. 
Reply | Threaded
Open this post in threaded view
|

Re: Is code pane should show secondary selection on any characters like spaces and tabs?

Ben Coman
On Thu, Nov 26, 2015 at 2:31 AM, Eliot Miranda <[hidden email]> wrote:
> Hi Denis,
>
>     I think this is cool :). I'm anal enough to hate spaces hidden before
> tabs, but they're invisible...unless, selecting a space highlights all
> spaces in the method :)
>
> (I also hate trailing white space; wish it weren't so prevalent)
>

I find the auto-selection of all spaces really annoying, since it
happens a lot by accident.  I just had not complained yet since I
thought it was temporary alpha-code for debugging.  I've never
accidentally had the tab auto-selection occur (actually I never
noticed the feature), so I could live with that, and that maybe that
is sufficient for Eliot(?).  An intuitive alternative might be that it
only works in the left-margin-whitespace and shows both tab and spaces
together - i.e. its not a space or a tab you are selecting, its
whitespace.

cheers -ben

>
> On Nov 25, 2015, at 8:09 AM, Denis Kudriashov <[hidden email]> wrote:
>
> When you select single space on code pane all spaces in code become
> selected. To me it is look very weird.
>
> If I'm not alone on this feeling we can integrate issue 16962
>
> For more details current behavior is:
> If you select "self", all "self"s in the code pane are selected with
> "secondary selection color"
> If you select "." all dots are selected.
> If you select a space-char all spacess are selected
> If you select a tab-char all tabs are selected ...
>
> With my fix you will not see secondary selection on any separators (space
> ,tab).
> It was my first impression when I start to navigate/select text by command
> left/right. And spaces selection during this process looks to me very bad.