POV-Ray : Newsgroups : povray.windows : Select large piece of text Server Time
2 May 2024 17:06:40 EDT (-0400)
  Select large piece of text (Message 1 to 6 of 6)  
From: T  Jonckheere
Subject: Select large piece of text
Date: 27 Dec 2006 06:23:39
Message: <459257bb$1@news.povray.org>
Is there a way to select a large piece  of text in the editor  (*many*
pages at once)?  To use some of my macros, I often have to edit large meshes
(for example to remove the UV info), and doing so by scrolling the text with
the mouse is really slow and unconfortable. I would like to be able to put a
kind of mark at the position of the cursor, then go to the bottom of the
part to be selected  (e.g. using the scrollbar on the right - this is
quick), and then have all the text between there and the mark be selected. I
have not found this in the docs, so I wonder if there is a way to do it (or
something similar).

Thank you for your help


Thibaut


Post a reply to this message

From: Kyle
Subject: Re: Select large piece of text
Date: 27 Dec 2006 08:42:56
Message: <jnt4p2hmeckqk1cf1et4aeq8bbdterkvl1@4ax.com>
Here are a couple of keystrokes that I use very frequently.  If you place your cursor
in the text and hist CTRL + SHIFT + END, it will select everything from the cursor to
the end of the document.
CTRL + SHIFT + HOME will select everything to the beginning of the document.  You can
then continue to hold SHIFT and use your arrow keys to narrow down the selection, if
you need to.

I hope this helps!



Kyle


Post a reply to this message

From: Stephen
Subject: Re: Select large piece of text
Date: 27 Dec 2006 09:45:00
Message: <web.45928601be255b2df1cb1e660@news.povray.org>
"T. Jonckheere" <tua### [at] yahoofr> wrote:
> Is there a way to select a large piece  of text in the editor  (*many*
> pages at once)?  To use some of my macros, I often have to edit large meshes
> (for example to remove the UV info), and doing so by scrolling the text with
> the mouse is really slow and unconfortable. I would like to be able to put a
> kind of mark at the position of the cursor, then go to the bottom of the
> part to be selected  (e.g. using the scrollbar on the right - this is
> quick), and then have all the text between there and the mark be selected. I
> have not found this in the docs, so I wonder if there is a way to do it (or
> something similar).
>
> Thank you for your help
>
>
> Thibaut


Or you can select the first line of required text then use the mouse to drag
the scroll bar to the end of the required text. Hold down the shift key and
click the end of the text and it will be selected.


Stephen


Post a reply to this message

From: Warp
Subject: Re: Select large piece of text
Date: 27 Dec 2006 12:23:14
Message: <4592ac01@news.povray.org>
Stephen <mcavoys_AT_aolDOT.com> wrote:
> In addition to Kyle?s answer you can use Shift + Page up/down.

  In general (and in all text editors), any movement of the cursor in
conjunction with shift will select text.

  So for example you press 'end' to go to the end of the line: If you
press shift at the same time, it will also select from the cursor's
current position to the end of the line.
  If you press ctrl+end it will go to the end of the file. Likewise,
if you press shift at the same time, it will select.
  Likewise with all other cursor movements, such as ctrl+right (will
go one word to the right), page down, etc.

-- 
                                                          - Warp


Post a reply to this message

From: T  Jonckheere
Subject: Re: Select large piece of text
Date: 28 Dec 2006 04:50:34
Message: <4593936a$1@news.povray.org>
Thank you everyone for all the answers. I did not know about this SHIFT
behaviour, and it solves (more or less *) my problem  !

    Thibaut



(*) not 100% perfect yet, as the best way to find the end of the part I want
to select is to use a "find", but this loses the original selected line.


Post a reply to this message

From: Stephen
Subject: Re: Select large piece of text
Date: 28 Dec 2006 05:25:00
Message: <web.45939a62be255b2df1cb1e660@news.povray.org>
"T. Jonckheere" <tua### [at] yahoofr> wrote:
> Thank you everyone for all the answers. I did not know about this SHIFT
> behaviour, and it solves (more or less *) my problem  !
>
>     Thibaut
>
>
>
> (*) not 100% perfect yet, as the best way to find the end of the part I want
> to select is to use a "find", but this loses the original selected line.


outline view. Go to the beginning of the text you want to select. Demote it
(Alt + Shift + Right), find the end of the text plus one line and Promote
that (Alt + Shift + Left). Go back to the beginning of the text you want to
select and click the + sign and your text will be selected.

Stephen


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.