EControl Ltd. Forum Index EControl Ltd.
VCL libraries and software support forum
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Block indenting and text-movement rules

 
Post new topic   Reply to topic    EControl Ltd. Forum Index -> EControl Syntax Editor
View previous topic :: View next topic  
Author Message
ulrikj



Joined: 07 Aug 2006
Posts: 12

PostPosted: Fri Sep 15, 2006 11:51 am    Post subject: Block indenting and text-movement rules Reply with quote

Hi,

I'm beginning to hit some "religious editor issues", where I'm wondering how to configure the editor to "do what I mean"..

These are:

1. Indentation by TABs, not by spaces. (smBlockIndent and smBlockUnindent do this using spaces!)
2. Say I have three lines that all begin with a tab:
Code:

TAB Some Code
TAB Some Other Code
TAB Some Third Code

Now, if I want to outcomment these manually, I'd usually put the cursor prior to the first tab, and press my comment character. Then I'll press the down arrow, and presumably be ready to do this same thing again, with my cursor at the beginning of the line. However, this is not the case, the behaviour looks like this instead:
Code:

COMMENTCHAR TAB Some Code
TAB CURSOR Some Other Code
TAB Some Third Code

Where what I'd like is the following:
Code:

COMMENTCHAR TAB Some Code
CURSOR TAB Some Other Code
TAB Some Third Code

How would I go about this?

3. How can I configure which characters are skipped/stopped-at when using Ctrl-Right and Ctrl-Left in the editor?

Using the VBScript Lexer I get the following behaviour
Code:

AddLog sDB & " is not in ready: " & DatabaseStatusToText(oDatabase.Status)

Cursor at BOF, Ctrl-Right => Cursor prior to "sDB". Correct. Ctrl-Right again, cursor ends up prior to "is", while I'd expect it to either stop right before the first quote, or before the ampersand..

Best regards, and thanks in advance!
Back to top
View user's profile Send private message
econtrol
Site Admin


Joined: 09 Jun 2006
Posts: 202

PostPosted: Fri Sep 22, 2006 7:08 pm    Post subject: Reply with quote

This feature is in to-do list:

http://www.econtrol.ru/mantis/view.php?id=5
Back to top
View user's profile Send private message Send e-mail
jfudickar



Joined: 12 Jun 2006
Posts: 38
Location: Eschborn, Germany

PostPosted: Sat Sep 23, 2006 9:48 am    Post subject: Reply with quote

For which release Smile
Back to top
View user's profile Send private message Visit poster's website
econtrol
Site Admin


Joined: 09 Jun 2006
Posts: 202

PostPosted: Sun Sep 24, 2006 5:41 am    Post subject: Reply with quote

Implemented.
Will be in 2.27.

Michael.
Back to top
View user's profile Send private message Send e-mail
jfudickar



Joined: 12 Jun 2006
Posts: 38
Location: Eschborn, Germany

PostPosted: Mon Sep 25, 2006 6:02 am    Post subject: Reply with quote

Great !!!

When will it be released Smile
Back to top
View user's profile Send private message Visit poster's website
econtrol
Site Admin


Joined: 09 Jun 2006
Posts: 202

PostPosted: Mon Sep 25, 2006 9:14 am    Post subject: Reply with quote

2.27 will be released after implemetation of replacement tool (multiple replacements).
This tool will enable a wide range of customizable features ("switch assignmentes", "surround with", etc.). Each of these features may be represented as single or list of replacements.

Michael.
Back to top
View user's profile Send private message Send e-mail
jfudickar



Joined: 12 Jun 2006
Posts: 38
Location: Eschborn, Germany

PostPosted: Mon Sep 25, 2006 11:23 am    Post subject: Reply with quote

Greater !!!!

It seems to be, YOU ARE A HERO Cool Laughing
Back to top
View user's profile Send private message Visit poster's website
ulrikj



Joined: 07 Aug 2006
Posts: 12

PostPosted: Wed Oct 11, 2006 8:10 am    Post subject: Patch? Reply with quote

How far away is the 2.2.7 release, timewise (rough estimate)?

Would it be possible for you to ship a patch for the above issues, if 2.2.7 isn't right on the doorstep? Having currently revamped one of my companies internal applications completely (including an upgrade to your wonderful editor), I'm itching to ship it, and the only show-stopper currently is the TAB/Spaces issue, since we don't want to "corrupt" our entire database with spaces, when we've decided on using tabs, which will happen if we ship the current version, and people start using it.

I'd like to avoid source-diving and hacking this in myself ofcourse, since you've already implemented it.

So, is it possible to ship a patch, or is 2.2.7 almost done, or should I attempt to hack this in myself?
Back to top
View user's profile Send private message
ulrikj



Joined: 07 Aug 2006
Posts: 12

PostPosted: Tue Oct 17, 2006 10:50 am    Post subject: Update? Reply with quote

Could I please get an update as to this situation? Like I said, it's pretty much a show-stopper for me.
Back to top
View user's profile Send private message
econtrol
Site Admin


Joined: 09 Jun 2006
Posts: 202

PostPosted: Tue Oct 17, 2006 7:04 pm    Post subject: Reply with quote

V2.27 is not ready yet.

If you want to get partial update (of this feture), please, send request from reqistered e-mail to [url]support@econtrol.ru[/url]

Michael.
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    EControl Ltd. Forum Index -> EControl Syntax Editor All times are GMT
Page 1 of 1

 
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


Powered by phpBB © 2001, 2005 phpBB Group