Just a sample of the Echomail archive
Cooperative anarchy at its finest, still active today. Darkrealms is the Zone 1 Hub.
|    WINPOINT    |    Support for the WinPoint software    |    1,004 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 293 of 1,004    |
|    Tim Schattkowsky to Carlos Navarro    |
|    Re: Ctrl+Y    |
|    16 Jan 22 23:08:01    |
      MSGID: 2:240/1120.29 20463280       CHRS: UTF-8 4       TZUTC: 0100       REPLY: 2:341/234.5 1fffe109       //Hello Carlos,//              on *16.01.22* at *20:09:08* You wrote in rea *WINPOINT*       to *Tim Schattkowsky* about *"Ctrl+Y"*.               CN>>> So you will implement this? I see that Ctrl-E is the new shortcut for        CN>>> inserting UUEncoded files, but Ctrl-U does nothing.               TS>> Works like a charm here !?               CN> When replying to a message, I press Ctrl-Y and current line is deleted.        CN> Immediately after, I press Ctrl-U. No change.              Indeed. The delete line functionality (basically one line of code) was       implemented outside the actual editor control and thus accidentally bypassed       the control's undo/redo functionality.              However, making that work gave me the creeps. I ended up with this (no       kidding):              procedure TMessageEditor.MnDeleteLineClick(Sender: TObject);       var        LineStart:TBufferCoord;       begin        if Line<=Editor.Lines.Count then        begin        LineStart.Line :=Line;        LineStart.Char :=1;        Editor.UndoList.BeginBlock;        Editor.UndoList.AddChange(crSelection,Editor.CharIndex       oRowCol(Editor.SelStart),Editor.CharIndexToRowCol(Editor.SelEnd),'',smNormal);        Editor.UndoList.AddChange(crCaret,Editor.CaretXY,Edito       .CaretXY,'',smNormal);        Editor.SelStart :=Editor.RowColToCharIndex(LineStart);        Editor.SelLength :=Length(Editor.Lines[Line-1])+2;        Editor.SelText :='';        Editor.UndoList.AddChange(crGroupBreak,LineStart,LineStart,'',       smNormal);        Editor.UndoList.EndBlock;        end;       end;              Hurts a little, but seems to do the job. Took me two hours of life time to       figure that sick shit out.               CN> I expected it to work like in GoldEd (delete line, undelete line), but I        CN> now see that I hadn't realized that Ctrl-Y is the usual keystroke for        CN> redoing in Windows... I don't use that when I'm in Fido-mode O:-)              Indeed.               CN> Thinking about it, maybe Ctrl-Y should work the standard way (redo) in        CN> WinPoint, as that could be what most potential Windows users would        CN> expect, and use a different keystroke like Alt-D (the alternative one in        CN> GoldEd) or Ctrl-L (like in Notepad++) for deleting the current line. What        CN> do you think?              Like the idea. Changed it to this for testing ... However, Ctrl-Y was more       conveniently located on the keyboard ...              Regards,       Tim       --- WinPoint 391.0        * Origin: Original WinPoint Origin! (2:240/1120.29)       SEEN-BY: 15/0 30/0 106/201 153/7715 221/1 6 229/110 317 426 428 664       SEEN-BY: 229/700 240/1120 266/512 280/464 282/464 1038 291/100 292/854       SEEN-BY: 301/0 1 101 113 317/3 320/219 335/364 341/66 371/0 396/45       SEEN-BY: 712/848 920/1 2452/250 3634/12 5020/1042 5058/104       PATH: 240/1120 301/1 229/426           |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca