2 configuration questions ( "End" and "Foldings" )

3 views
Skip to first unread message

Exile

unread,
Oct 15, 2009, 2:49:19 AM10/15/09
to scite-interest
Hello list,

Perhaps I missed something that I don't know where to config... Here
the questions :

1. While a long string is wrapped, is that anything I can set, so when
I press "End", the cursor is just go the end of the line, rather than
to the end of long wrapped string?

2. I do very happy for the folding feature, but can I control the auto
folding behavior at the run-time?
The more concrete question is "Can I just stop auto unfold when I
typing a quote? "

Like the code below :

# This is Perl Code
01 | sub FuncA {
02 | print "
03 | }
04 | sub FuncB {
05 | ........
06 | }
07 | sub FuncC {
08 | ........
09 | }
10 | # MainCode
11 | FuncA ( $var );
12 |

My practice will be traveling around #MainCode, and the subs.

In case, suppose all subs are folded at the beginning, and then I want
to modify something in FuncA, but, if I ( Line 02 ) type a quote ' or
" or regex // or { inside FuncA, the FuncB and FuncC will auto
unfolded, obviously it treats the rest of code is part of the string.
But I have to fold them back manually after I done the string, since I
will look for the #MainCode after the modifies.

Thanks for any clues =)

Exile

Neil Hodgson

unread,
Oct 15, 2009, 7:08:44 AM10/15/09
to scite-i...@googlegroups.com
Exile:

> 2. I do very happy for the folding feature, but can I control the auto
> folding behavior at the run-time?
> The more concrete question is "Can I just stop auto unfold when I
> typing a quote? "

There is no way of controlling this.

Neil

Jingcheng Zhang

unread,
Oct 16, 2009, 4:38:04 AM10/16/09
to scite-i...@googlegroups.com
Hello Exile,

I asked the second question before. According to Neil's answer at that time, It seems there is a "line end" state which affects folding. If a string in a language can span over multiple lines, then this behavior appears. It's really annoying...

2009/10/15 Exile <exile...@gmail.com>



--
Best regards,
Jingcheng Zhang
P.R.China

Reply all
Reply to author
Forward
0 new messages