On Thu, 5 Jul 2007 12:57:04 -0400, "John Gabriele" jmg3000@gmail.com wrote:
On 7/5/07, John Gabriele jmg3000@gmail.com wrote:
On 7/5/07, Enrico Tröger enrico.troeger@uvena.de wrote:
On Wed, 4 Jul 2007 20:20:45 -0400, "John Gabriele" jmg3000@gmail.com wrote:
- Shift-Alt-P to select paragraph
No problem, just needs to be implemented. Could paragraph defined in some way? To avoid further discussions (;-)) we should use a common way of defining a paragraph(start and end). Do you know what I mean?
I think paragraphs are separated by blank lines (space is allowed).
Actually, since Ctrl-] and Ctrl-[ already move the cursor by-paragraph, all "select paragraph" needs to do is:
- Ctrl-] (go to end of current paragraph).
- Mark this as the end of the selection.
- Ctrl-[ (go to beginning of paragraph).
- Mark this as the start of the selection.
Not exactly because Ctrl-] jumps to the next paragraph not the end of the current one. But it doesn't matter. I'll implement it by going to the beginning of the current paragraph and then going down until an empty line(completely empty or a line with only whitespace) is found and then spawn a selection between these two points.
Regards, Enrico