jed-users mailing list

[2003 Date Index] [2003 Thread Index] [Other years]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]

Re: pop_spot(0)


begin  "John E. Davis" <davis@xxxxxxxxxxxxx> wrote:
> Joerg Sommer <joerg@xxxxxxxxxxxx> wrote:
>>And is there a function to search between the current position and a mark?
> 
> You have to define the region using "push_mark".  Then call
> "narrow_to_region".  Once you are done, call "widen_region".

I am not very familiar with the C-Code. Maybe you can estimate, if
narrow_to_region/widen_region is faster then bufstr and is_substr() with
[[pos:]] of the string.

This part will be called very often, so I need the best(tm) way.

Background: I need somewhat like find the left or right parenthesis of
the block I'm in.

Jörg.

--------------------------
To unsubscribe send email to <jed-users-request@xxxxxxxxxxx> with
the word "unsubscribe" in the message body.
Need help? Email <jed-users-owner@xxxxxxxxxxx>.


[2003 date index] [2003 thread index]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]