Re: XForms: Input

From: T.C. Zhao (
Date: Sat Jun 03 2000 - 14:25:01 EDT

  • Next message: T.C. Zhao: "Re: XForms: Tooltips in 0.89 with pixmaps"

    # To subscribers of the xforms list from "T.C. Zhao" <> :

    Just tried it on linux using DEMOS/inputall
    (pasted a few k lines of junk and things seem to work
    I'll look at it on SGI soon.

    BTW, input field is not really meant to be an editor
    as the internal data structure is completely inappropriate
    for large amount of text (the internal buffer is
    a single buffer with no concept of "lines" at that level).
    As the buffer grows large, editing becomes very inefficient.
    Of course the structure also dictates that anything
    that needs to be done on a per-line bases (color a line
    differently, e.g.) is expensive (and a hack). That
    said, hack never stopped me from implementing some
    good features.

    --- Lothar Esser <> wrote:
    > # To subscribers of the xforms list from Lothar Esser
    > <> :
    > it seems that there is a glitch in input forms in that that the
    > vertical
    > cursor disappears after about 2000 lines in admittedly large input
    > fields.
    > I abuse input fields as simple editors in one of my applications and
    > sometimes the user has to edit very long files. The cursor disappears
    > but
    > one can edit everything as usual ( only that you no longer know where
    > you
    > are). If I go back to lines < about 2000 it re-appears. I have no
    > idea
    > what can cause this effect. I have seen it specifically on SGI Irix
    > 6.2;
    > xforms 0.89. I have to check the Linux version still.
    > Another question : Is there a hack or better yet a function that
    > allows
    > one to change the color of a single line in the input field ? I need
    > this
    > to indicate errors on a specific line. I think in multiline browsers
    > it is
    > possible but not in input fields.
    > Thanks for any advice as usual,
    > Y'all have a nice weekend.
    > Lothar
    > _________________________________________________
    > To unsubscribe, send the message "unsubscribe" to
    > or see
    > XForms Home Page:
    > List Archive:

    Do You Yahoo!?
    Yahoo! Photos -- now, 100 FREE prints!
    To unsubscribe, send the message "unsubscribe" to or see
    XForms Home Page:
    List Archive:

    This archive was generated by hypermail 2b29 : Sat Jun 03 2000 - 14:30:10 EDT