Using "page down" to select the text ?
-
wrote on 17 Jan 2024, 21:23 last edited by
Silly question
Is there a way to use "page down" to actually select the text, not just move the cursor / line ? -
Silly question
Is there a way to use "page down" to actually select the text, not just move the cursor / line ?@AnneRanch
If you hitreply
in this forum, you can select text by pressing shift and "page up" / "page down". -
@AnneRanch
If you hitreply
in this forum, you can select text by pressing shift and "page up" / "page down".wrote on 17 Jan 2024, 22:50 last edited by@Axel-Spoerl Axel, good idea ,but...
in works for couple hundred lines and then it lock up Qt.
My guess it maybe Ubuntu causing this... -
-
@Axel-Spoerl Axel, good idea ,but...
in works for couple hundred lines and then it lock up Qt.
My guess it maybe Ubuntu causing this...wrote on 19 Jan 2024, 07:41 last edited by@AnneRanch said in Using "page down" to select the text ?:
in works for couple hundred lines and then it lock up Qt.
In that case there is maybe a better idea: Place the cursor at the position where you want to start the selection. Then use the mouse (scroll wheel or scroll bar) to look for the end of your selection. Make sure that you don't move the input cursor. Now, hold down shift and click at the end. The text will be selected from the old cursor position to the new one. Works really well to select large chunks of text.
-
@AnneRanch said in Using "page down" to select the text ?:
in works for couple hundred lines and then it lock up Qt.
In that case there is maybe a better idea: Place the cursor at the position where you want to start the selection. Then use the mouse (scroll wheel or scroll bar) to look for the end of your selection. Make sure that you don't move the input cursor. Now, hold down shift and click at the end. The text will be selected from the old cursor position to the new one. Works really well to select large chunks of text.
wrote on 19 Jan 2024, 15:46 last edited by@SimonSchroeder Yes, I use mouse, but it is not very fast...I have two copies of same code ( one modified with blank lines removed ) ,about thousand lines , and like to move the one I use "up"...
-
@SimonSchroeder Yes, I use mouse, but it is not very fast...I have two copies of same code ( one modified with blank lines removed ) ,about thousand lines , and like to move the one I use "up"...
@AnneRanch
Is this really a Qt issue?
Selecting 1000 lines, to "move them up" - sounds like a complicated approach to text processing.
I'd either delete a few lines on top of the 1000, or move a smaller hunk down.
1/6