"Alt sets column mode" does not appear to work?

191 views
Skip to first unread message

Giovanni Bajo

unread,
Feb 13, 2007, 8:31:34 PM2/13/07
to PyScripter
Hello,

it's only me or the "Alt sets column mode" option does not work? I try
to activate it, but if I keep ALT pressed I can't select anything (the
cursor won't move). I am not sure if the SHIFT button should also be
pressed or not (I guess it should), but it doesn't work with or
without the SHIFT button. In both cases, the cursor stands still and
nothing is selected.

--
Giovanni Bajo

PyScripter

unread,
Feb 13, 2007, 9:06:00 PM2/13/07
to PyScripter
With the option checked, press the Alt key while making a selection
with the mouse. You should see that a column selection is made. It
works here fine, so please let me know if doesn't at your side. I
repeat that it affects selection with the mouse!

Dick Moores

unread,
Feb 13, 2007, 9:15:35 PM2/13/07
to PyScr...@googlegroups.com
If column selection means that selecting, say, 3 consecutive
characters in a file with Alt pressed will in addition select
everything directly above and below those 3 characters, i.e., a column
3 characters wide, then this doesn't work for me either, using v1.8.

Dick Moores

PyScripter

unread,
Feb 13, 2007, 9:19:42 PM2/13/07
to PyScripter
I was not very precise. You need to press the Alt key before clicking
with the mouse to start selecting.

On Feb 14, 4:15 am, "Dick Moores" <rdmoo...@gmail.com> wrote:
> If column selection means that selecting, say, 3 consecutive
> characters in a file with Alt pressed will in addition select
> everything directly above and below those 3 characters, i.e., a column
> 3 characters wide, then this doesn't work for me either, using v1.8.
>
> Dick Moores
>

Dick Moores

unread,
Feb 13, 2007, 9:24:45 PM2/13/07
to PyScr...@googlegroups.com
Yes. That's what I meant I did.

Dick

On 2/13/07, PyScripter <pyscr...@gmail.com> wrote:
>


--
my configuration:
Win XP Pro SP2
Python 2.5
wxPython 2.8.1.1 Unicode
Python IDE: Ulipad 3.6

PyScripter

unread,
Feb 13, 2007, 9:28:52 PM2/13/07
to PyScripter
And is "Alt sets column mode" set in your editor options? (Tools,
Options, Editor Options in the Options tab). I find it surprising it
does not work.

Dick Moores

unread,
Feb 13, 2007, 9:49:50 PM2/13/07
to PyScr...@googlegroups.com
Yes, but I notice that the "Alt sets column mode" box is checked when
I look at that tab, only when I also have open the same .py script
that was open when I first checked the "Alt sets column mode" box. But
whether checked or unchecked, I've yet to see column mode work.

Just once, when I double-clicked on a variable name (with Alt
pressed), I noticed that this selected, inclusively, the lines between
the line containing this variable and the next line about it (5 lines
above, I believe) that also contained this variable name. Flaky!

Dick

On 2/13/07, PyScripter <pyscr...@gmail.com> wrote:
>

Kiriakos Vlahos

unread,
Feb 13, 2007, 10:04:59 PM2/13/07
to PyScr...@googlegroups.com
Changes to editor options apply only to the currently selected file, unless the "Apply to all editors" check box is checked (at the bottom of the Editor Options window).  

I am not sure how I can help here.  I cannot reproduce the problem, since column selection works fine on my side.  You can also choose selection mode via shortcuts:

Normal Select
Shft+Ctrl+N
Set selection mode to Normal

Column Select
Shft+Ctrl+C
Set Column selection mode

Line Select
Shft+Ctrl+L
Set selection mode to Line

Do these shortcuts work?  e.g. Make a normal selection with the mouse and then press Shft+Ctrl+C.  Selection should change to column mode.

By the way please try with a normal Ansi file (no Japanese characters etc.) to see whether it  works in that case.

Dick Moores

unread,
Feb 13, 2007, 10:20:06 PM2/13/07
to PyScr...@googlegroups.com
On 2/13/07, Kiriakos Vlahos <pyscr...@gmail.com> wrote:
Changes to editor options apply only to the currently selected file, unless the "Apply to all editors" check box is checked (at the bottom of the Editor Options window).  

I am not sure how I can help here.  I cannot reproduce the problem, since column selection works fine on my side.  You can also choose selection mode via shortcuts:

Normal Select
Shft+Ctrl+N
Set selection mode to Normal

Column Select
Shft+Ctrl+C
Set Column selection mode

Line Select
Shft+Ctrl+L
Set selection mode to Line

Do these shortcuts work?  e.g. Make a normal selection with the mouse and then press Shft+Ctrl+C.  Selection should change to column mode.

Shift+Ctrl+C  doesn't work.
Shift+Ctrl+L  does work.
Shift+Ctrl+N cancels Line select. I'm don't know what's normal.

I'm wondering why you don't have a triple click within a line select a line. This is normal for Textpad, and OpenOffice.org Writer. And I believe MS Word as well, tho I no longer have it.

By the way please try with a normal Ansi file (no Japanese characters etc.) to see whether it  works in that case.

Yes. I'd been using a normal Ansi file all along for this thread.

Dick

PyScripter

unread,
Feb 13, 2007, 10:45:24 PM2/13/07
to PyScripter
Just a last shot. Column mode selection is meaningful only in multi-
line selection. See the following screenshot for an example.
http://www.hippoedit.com/screenshots.php?id=16


Dick Moores

unread,
Feb 13, 2007, 10:59:12 PM2/13/07
to PyScr...@googlegroups.com
Yes! Both Alt and Ctrl+Shift+C select as shown in that screen shot. Thanks.

You know, in my first post to this thread I asked, "If column


selection means that selecting, say, 3 consecutive
characters in a file with Alt pressed will in addition select
everything directly above and below those 3 characters, i.e., a column
3 characters wide, then this doesn't work for me either, using v1.8.

Dick

On 2/13/07, PyScripter <pyscr...@gmail.com> wrote:
>

Kiriakos Vlahos

unread,
Feb 13, 2007, 11:06:45 PM2/13/07
to PyScr...@googlegroups.com
Too tired to read carefully what you wrote :)

Dick Moores

unread,
Feb 14, 2007, 12:05:54 AM2/14/07
to PyScr...@googlegroups.com
OK. Thanks for all your help.

Dick

On 2/13/07, Kiriakos Vlahos <pyscr...@gmail.com> wrote:

> Too tired to read carefully what you wrote :)
>
>
> >
>

Giovanni Bajo

unread,
Feb 15, 2007, 5:33:42 AM2/15/07
to PyScripter
Hi,

it does indeed work with the mouse. *BUT* it seems not to work when
the last line of a selection box goes past the end of a line: For
instance:

very long line very long line very long line very long line very
long line
very long line very long line very long line very long line very
long line
very long line very long line very long line very long line very
long line
short line
very long line very long line very long line very long line very
long line
very long line very long line very long line very long line very
long line
very long line very long line very long line very long line very
long line
very long line very long line very long line very long line very
long line

Try to do column selection over this text: you will see that the box
jumps when the cursor is past the end of the short line. I don't
specifically like this. I think it's normale for column selection to
include spaces past the end of the lines. In fact, if you enlarge
selection so that it *includes* the short line but begins and ends in
a long line, then the short line will be selected correctly, with
blank spaces at the end. It's counter-intuitive to have a different
behaviour ONLY WHEN the mouse cursor is on the short line.

For instance, say I want to highlight a box that comprehends the short
line, and half of two long lines below it. There are 4 possible
corners where to start dragging: if I start from the top-left corner
or the bottom-right corner, I am able to select the box. But if I
start from the top-right or bottom-left corner, the selection will
refuse to enlarge to cover the box. This is absolutely counter-
intuitive.

Also, any reason why this couldn't work also for selections made with
the keyboard? It works this way in Visual Studio for instance.

Thanks!
--
Giovanni Bajo

PyScripter

unread,
Feb 15, 2007, 3:46:51 PM2/15/07
to PyScripter
To have the behavior you would like when selecting in column mode
enable the "scroll past EOL" editor option.

For keyboard column selection use the shortcuts mentioned earlier.

Reply all
Reply to author
Forward
0 new messages