ledit

Text editor (WIP)
git clone git://lumidify.org/ledit.git (fast, but not encrypted)
git clone https://lumidify.org/git/ledit.git (encrypted, but very slow)
Log | Files | Refs | README | LICENSE

BUG (903B)


      1 Random bugs noted down so I remember them; you are not expected to understand this
      2 deleting two lines in middle: leaves stray empty line without cursor; undo not right order;
      3 #0  0x00000d017890ccef in memcpy (dst0=0xd01adb5cf00, src0=0xd01c90a610b, length=18446744073709551566) at /usr/src/lib/libc/string/memcpy.c:97
      4 #1  0x00000cff1763be78 in ledit_insert_text_base (buffer=0xd01adb67300, line_index=6, index=0, text=0xd01c90a610b "\001\r", len=-50) at buffer.c:322
      5 #2  0x00000cff1763c516 in ledit_insert_text_with_newlines_base (buffer=0xd01adb67300, line_index=4, index=0,
      6     text=0xd01c90a6080 "اسجد\233ا\204کسجدا\233س\204کجاس\233\204دکاج\233د\204کسادجا\233سداکج\204د\233ا\n", len=89, end_line_ret=0x0,
      7     end_char_ret=0x0) at buffer.c:391
      8 #3  0x00000cff17640058 in ledit_undo (buffer=0xd01adb67300) at undo.c:172
      9 #4  0x00000cff17639d8a in undo () at ledit.c:1774