Total Commander Forum Index Total Commander
Forum - Public Discussion and Support
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

SynWrite (Syn2)
Goto page Previous  1, 2, 3 ... 59, 60, 61 ... 68, 69, 70  Next
 
Post new topic   Reply to topic    Total Commander Forum Index -> Plugins and addons: devel.+support (English) Printable version
View previous topic :: View next topic  
Author Message
Stefan2
Senior Member
Senior Member


Joined: 13 Sep 2007
Posts: 251
Location: Germany, EU

PostPosted: Fri May 04, 2012 4:39 am    Post subject: Reply with quote

Alextp wrote:
Quote:
* Start an selection, then
* New feature "Enable sticky selection",
then use
Find
or
GoTo Line/Bookmark


In what editor do u see this? Or is it new.

I know i have seen the first way with
that "Go to line/bookmark or Find and extend selection" thing.
But not that second way with sticky selection.

I know "Sticky Selection" as an selection that is not
destroyed if you just click elsewhere.
If there is an editor with that "extend the sticky selection"
feature i don't know really at the moment.

I can check at the weekend if you want.


Quote:
Select paragraph: 3-ple click does it?

Currently an triple click will select an whole line
(if not the option "double click select whole line" is set)

I think you don't want to change that.

So i imagine an option to hold e.g. the CTRL-key and triple click?
If possible i would anyway assign an shortcut to that command.


Thanks for considering it.
_________________
Greetings, Stefan.
Back to top
View user's profile Send private message
Alextp
Power Member
Power Member


Joined: 16 Aug 2004
Posts: 2248
Location: Russian Federation

PostPosted: Fri May 04, 2012 6:11 am    Post subject: Reply with quote

+ hotkey "Select paragraph"
+ hotkeys "Next/Previous blank line"
added
_________________
Universal Viewer - Log Viewer - SynWrite
Back to top
View user's profile Send private message Visit poster's website
Alextp
Power Member
Power Member


Joined: 16 Aug 2004
Posts: 2248
Location: Russian Federation

PostPosted: Fri May 04, 2012 7:25 am    Post subject: Reply with quote

2Stefan2
In what editor do u see "Goto Ln\Bkmark\Find" with Extend selection. (Not Sticky selection)
_________________
Universal Viewer - Log Viewer - SynWrite
Back to top
View user's profile Send private message Visit poster's website
Stefan2
Senior Member
Senior Member


Joined: 13 Sep 2007
Posts: 251
Location: Germany, EU

PostPosted: Fri May 04, 2012 5:47 pm    Post subject: Reply with quote

HippoEDIT:
* Find + extend selection (works even without initial selection)
* Set Anchor + Select to Anchor


PSPad
* Start Block (F8) .... move the cursor... End Block (F8)


EditPad
* Start Selection (S+C+B) ..... End Selection (S+C+E)


Boxer
* Find + extend selection (needs an selection first)
* Go to + extend selection (needs an selection first)


VIM
* v/pattern (means: enter selection mode, find pattern and select to found pos.)
* v44gg (means: enter selection mode and go to line 44, extending the selection to)
* vip (means: enter selection mode and select (i)nner (p)aragraph)


PFE Programmer's File Editor
* Find + extend selection
* Goto line + extend selection


Notepad2
* First Find something, then, like F3, use F2 to select to next occurrence.


TED
* Go to + extend selection
* Find, then Select to next
* Select paragraph (select on every execution the next paragraph)


It seems "Goto bookmark" i only have implemented via script for PSPad and EmEditor.
I don't know (or remember) an editor with that implemented.


I think, Start Block/End Block is the easiest way to implement this.
No change of dialog or adding check boxes.
Also it works universal:
-- go to or find start of wanted selection
-- set selection type (stream or column)
-- set Start Selection marker by menu item or hotkey
-- go to line | go to bookmark | find pattern | jump paragraph, the same as now
-- once there, set End Selection marker by menu item or hotkey
The selection is done.

I think *I* would like the hotkey works as an toggle. (like with PSPad)
Means, one hotkey acts for to set the start AND the end of the selection.
So the finger can stay on that one hotkey and we have to remember only one.


If you have more questions or if i can help you,... just ask.
_________________
Greetings, Stefan.
Back to top
View user's profile Send private message
Alextp
Power Member
Power Member


Joined: 16 Aug 2004
Posts: 2248
Location: Russian Federation

PostPosted: Sat May 05, 2012 3:08 am    Post subject: Reply with quote

Don't know about "Extend sel. to next|Prev bkmark". How to call it, using what? New menu items?
_________________
Universal Viewer - Log Viewer - SynWrite
Back to top
View user's profile Send private message Visit poster's website
Stefan2
Senior Member
Senior Member


Joined: 13 Sep 2007
Posts: 251
Location: Germany, EU

PostPosted: Sat May 05, 2012 3:48 am    Post subject: Reply with quote

Perhaps something like this?


First:
if possible, "Extend sel. to next|Prev bkmark"
should not only "extend" an selection
but even start an new selection from cursor position
IF there is no selection at all.
But if there is an selection, then extend it.


Second:
Menu "Bookmarks > + Go to numbered will extend selection"
( + is an checkable item, checkable like "View > Live spelling")
If this is checked, the "Go to numbered bookmark"
will do that GoTo, but also extend or start an selection.


Third:
New menu items
Menu Bookmarks > Select to next bookmark (S+C+O)
Menu Bookmarks > Select to prev bookmark (S+C+P)



If i have an hotkey for "Select to next bookmark"
i can do an FIND for something with "[X] Bookmark results",
then go back up, and then press one or more times that hotkey
to extend the selection step by step to next found position.
_________________
Greetings, Stefan.
Back to top
View user's profile Send private message
Alextp
Power Member
Power Member


Joined: 16 Aug 2004
Posts: 2248
Location: Russian Federation

PostPosted: Sat May 05, 2012 7:54 am    Post subject: Reply with quote

Beta(1st post): "Extend selectn" in Find/Goto.
_________________
Universal Viewer - Log Viewer - SynWrite
Back to top
View user's profile Send private message Visit poster's website
Alextp
Power Member
Power Member


Joined: 16 Aug 2004
Posts: 2248
Location: Russian Federation

PostPosted: Sat May 05, 2012 12:35 pm    Post subject: Reply with quote

What about this Goto dlg:
(no need to add new menu items)
http://shot.qip.ru/008s9h-1QODkgKwi/
_________________
Universal Viewer - Log Viewer - SynWrite
Back to top
View user's profile Send private message Visit poster's website
Matthias030
Senior Member
Senior Member


Joined: 04 Mar 2007
Posts: 381
Location: Berlin

PostPosted: Sat May 05, 2012 1:49 pm    Post subject: Reply with quote

goto bookmark dlg is ok
but goto bookmark dlg as an additional menu item in bookmark menu? or is it replacement and menu "go to numbered bookmark" will be removed?

also possible: integrate dlg into existing goto position dlg. this gives fast access to all goto-features with existing buttonbar icon or statusbar click.
new name: "goto position/bookmark"

it can be divided into 2 parts. upper part "goto line, column". lower part "new bookmark dlg options"
Back to top
View user's profile Send private message Send e-mail
Stefan2
Senior Member
Senior Member


Joined: 13 Sep 2007
Posts: 251
Location: Germany, EU

PostPosted: Sat May 05, 2012 4:12 pm    Post subject: Reply with quote

Alextp wrote:
Beta(1st post): "Extend selectn" in Find/Goto.


First test work good.

Works with FIND in line. Works with FIND ^$
Even without initial selection.
After the first selection, the FIND NEXT extend the selection.
This kind of implementation of this topic did not work for F3 hotkey.

Very fine. Thank you. Go back for further testing... CU



Related your dialog: How about this suggestion (click)?


.
_________________
Greetings, Stefan.
Back to top
View user's profile Send private message
Alextp
Power Member
Power Member


Joined: 16 Aug 2004
Posts: 2248
Location: Russian Federation

PostPosted: Sat May 05, 2012 10:36 pm    Post subject: Reply with quote

2Matthias030
Quote:
integrate dlg into existing goto position dlg.


It's it. I ingtegrate into Goto

Stefan
Dlg is overloaded..
_________________
Universal Viewer - Log Viewer - SynWrite
Back to top
View user's profile Send private message Visit poster's website
Alextp
Power Member
Power Member


Joined: 16 Aug 2004
Posts: 2248
Location: Russian Federation

PostPosted: Sun May 06, 2012 1:17 am    Post subject: Reply with quote

Beta. Goto dl redone.
_________________
Universal Viewer - Log Viewer - SynWrite
Back to top
View user's profile Send private message Visit poster's website
Stefan2
Senior Member
Senior Member


Joined: 13 Sep 2007
Posts: 251
Location: Germany, EU

PostPosted: Sun May 06, 2012 2:47 am    Post subject: Reply with quote

Alextp wrote:
Stefan
Dlg is overloaded..


Very Happy
_________________
Greetings, Stefan.
Back to top
View user's profile Send private message
Stefan2
Senior Member
Senior Member


Joined: 13 Sep 2007
Posts: 251
Location: Germany, EU

PostPosted: Sun May 06, 2012 4:00 am    Post subject: Reply with quote

Alextp wrote:
+ hotkey "Select paragraph"
+ hotkeys "Next/Previous blank line"
added

Tested and works excellent!
I have set mine to:
Code:

"Select paragraph"      Ctrl+Shift+P (aragraph)
"Next blank line"       Ctrl+Shift+D (own)
"Previous blank line"   Ctrl+Shift+U (p)


Great:

Ctrl+Shift+P (set to "Select paragraph")
+
Alt+M (set to "Insert Text in lines")
=
Great work flow Smile


- - -


Alextp wrote:
What about this Goto dlg:
(no need to add new menu items)

Pretty fine:

Ctrl+G Alt+nx OK

or

Ctrl+G Alt+xu Arrow d/u OK


Works!

Thanks Alexey.


200
.
_________________
Greetings, Stefan.


Last edited by Stefan2 on Sun May 06, 2012 4:26 am; edited 1 time in total
Back to top
View user's profile Send private message
Matthias030
Senior Member
Senior Member


Joined: 04 Mar 2007
Posts: 381
Location: Berlin

PostPosted: Sun May 06, 2012 4:05 am    Post subject: Reply with quote

dialog is good. maybe only an optical improvement: set pull-down menu for numbered bookmarks behind text. not below.

here is img http://www.freeimagehosting.net/9fyuv


Edit: Wait. Maybe better to keep current dialog. After translation text may be too long and there is not enough space behind text. German text is longer than english text.

Edit2: made new image. please align pull-down boxes to the ride side. http://www.freeimagehosting.net/7xruw
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    Total Commander Forum Index -> Plugins and addons: devel.+support (English) All times are GMT - 6 Hours
Goto page Previous  1, 2, 3 ... 59, 60, 61 ... 68, 69, 70  Next
Page 60 of 70

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Impressum: This site is maintained by Ghisler Software GmbH

Using phpBB © 2001-2005 phpBB Group