On Feb 22, 1:48 pm, tfer <[email protected]> wrote: > give the cursor position, I'm not sure of the function of fcol, is it > line length?
do a search in the leo FAQ (http://webpages.charter.net/edreamleo/ FAQ.html). Search for "How can I avoid getting long lines in external files?". This is the answer from an users perspective. Technical details below. On Feb 22, 3:03 pm, "Edward K. Ream" <[email protected]> wrote: > On Feb 22, 6:20 am, "Edward K. Ream" <[email protected]> wrote: > > > fcol is the file column, that is, the column in the node plus the > > effective indentation of the node in the file. Correct. fcol is the column coordinate of the cursor *relative to the external file*. > I don't recall how the code actually computes fcol. I do, because that's my code. fcol is computed by walking back from the current node up to the root and adding offsets. The code is reasonably commented. Check out r899.1.1 in bzr. The whole deal was discussed here: http://groups.google.com/group/leo-editor/browse_thread/thread/6f744c2a5819e3/3eb1427be99d79bd and I was the one to raise the initial question. -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/leo-editor?hl=en.
