jEdit Community - Resources for users of the jEdit Text Editor
Selecting lines between two points?
Submitted by hungryOrb on Wednesday, 9 September, 2009 - 02:25
Hi all! I'm a noob user, and am having trouble selecting lines between two points. In example: -----------
Text between Div1 Text between Div2
In the macro, I might want to start the cursor at the first div open, then use the search function to find the close so the cursor is at
then press up arrow once, select the line (Div2 line) then add to the selection everything from that line upwards to where my cursor started. So after all, the selection will contain every line from
to "Text between Div2". However, when I try this, I use the CTRL+F search function, and any selection I have, is overwritten when you hit search and the thing you are looking for replaces the selection. Having 'Multiple Selection' option checked doesn't help.. Thanks for considering my plight! O
Comment viewing options
Select your preferred way to display the comments and click 'Save settings' to activate your changes.
correction
by hungryOrb on Wed, 09/09/2009 - 02:40
Sorry, I used illegal tags and messed it up.

here is my example:
-------------------

(div)
Line 1
Line 2

(div)

-------------------

If I want to firstly start at first div, then search for the next div and then press up arrow twice (this format being constant throughout) I will have found the end point to the selection I want to make. If I then search backwards to the first div again, I will have found the first point of the selection that I want to make. If I use select line, the searches may add to the selection but they don't add the content between points, just the matches to the search are additionally selected (that's with Multiple Selection option checked).

So basically I just wanna select the content between two points Sad

Is it possible?
User login
Browse archives
« April 2024  
MoTuWeThFrSaSu
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
 
Poll
Are you interested in language packs for jEdit?
Yes, and I could help maintain translations
26%
Yes, I'd like to have translations
32%
Indifferent
35%
No, that'd be bad (please comment)
7%
Total votes: 1093
Syndication
file   ver   dls
German Localization light   4.4.2.1   82348
Context Free Art (*.cfdg)   0.31   46055
JBuilder scheme   .001   18495
BBEdit scheme   1.0   18116
ColdFusion scheme   1.0   18024
R Edit Mode - extensive version   0.1   17473
Advanced HTML edit mode   1.0   16206
Matlab Edit Mode   1.0   16068
jEdit XP icons   1.0   15229
XP icons for jEdit   1.1   14293