• FSEditor

    From Alterego@1:103/705 to Digital Man on Friday, August 30, 2019 09:32:50
    Hey DM,

    I know you had code in place, that if the cursor was at the end of a line, pressing DELETE (I'm on a MAC, so no BACKSPACE), would act like a BACKSPACE it is working well if EOL=EOM.

    However, if I've gone back up and edited some text, and I'm on the end of a line (but not the end of a message), the DELETE is active as BOTH DELETE + BACKSPACE.

    (And I did it a couple of times, and eventually the editor bombed out "The Unthinkable Happened" (or something like that).

    Also, is it possible to have the left arrow key jump to the end of the line above, when it is pressed (if there is text above), and the right arrow jump to
    the 1st character on the line below (if there is text below).


    ...*

    ---
    Synchronet Alterant | an SBBS in Docker on Pi!
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to Alterego on Thursday, August 29, 2019 17:35:40
    Re: FSEditor
    By: Alterego to Digital Man on Fri Aug 30 2019 09:32 am

    Hey DM,

    I know you had code in place, that if the cursor was at the end of a line, pressing DELETE (I'm on a MAC, so no BACKSPACE), would act like a BACKSPACE it is working well if EOL=EOM.

    However, if I've gone back up and edited some text, and I'm on the end of a line (but not the end of a message), the DELETE is active as BOTH DELETE + BACKSPACE.

    Right, it's not a perfect solution.

    (And I did it a couple of times, and eventually the editor bombed out "The Unthinkable Happened" (or something like that).

    Yeah, I think I've seen that too. I didn't write fseditor.js, so I'm not sure what that means.

    Also, is it possible to have the left arrow key jump to the end of the line above, when it is pressed (if there is text above), and the right arrow jump to the 1st character on the line below (if there is text below).

    Probably. It's a script (exec/fseditor.js), maybe try modifying to suit your needs and maybe supply a patch to be considered for commitment to CVS.

    digital man

    Synchronet/BBS Terminology Definition #36:
    HTTPS = Secure HTTP (authenticated and encrypted HTTP over TLS)
    Norco, CA WX: 87.8F, 46.0% humidity, 13 mph NE wind, 0.00 inches rain/24hrs --- SBBSecho 3.09-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From mark lewis@1:3634/12.73 to Alterego on Friday, August 30, 2019 02:46:40
    On 2019 Aug 30 09:32:50, you wrote to Digital Man:

    However, if I've gone back up and edited some text, and I'm on the end of
    a
    line (but not the end of a message), the DELETE is active as BOTH DELETE + BACKSPACE.

    (And I did it a couple of times, and eventually the editor bombed out "The Unthinkable Happened" (or something like that).

    THAT'S what i've been seeing! i haven't been able to figure out the actual sequence of events but yes, there are times, like when moving a line up onto the end of another line, that both del and backspace seem to be triggered... i have to remember to hit the space before i delete the EOL to pull the next line
    up... if i don't hit the space the last character on the current line will be deleted when the next line gets pulled up... that "unthinkable" or "impossible"
    has bitten me numerous times and now that you mention it, it sounds like an index isn't moved properly... especially since i've done several edits and combining of lines here and there when this critter pops its head out and bites
    me...

    )\/(ark

    Once men turned their thinking over to machines in the hope that this would set
    them free. But that only permitted other men with machines to enslave them. ... No sorrow like the loss of friends.
    ---
    * Origin: (1:3634/12.73)