Menu

DuplicateLine

DrScript
2004-10-27
2013-04-26
  • Franz Steinhaeusler

    very simple, but useful (you don't lose your text in the Clipboard)

    #drscript
    #DuplicateLine.py
    DrDocument.CmdKeyExecute(wx.stc.STC_CMD_LINEDUPLICATE)
    #or direct
    #DrDocument.LineDuplicate()

    #jump to second line?
    DrDocument.CmdKeyExecute(wx.stc.STC_CMD_LINEDOWN)

     
    • Daniel Pozmanter

      Yes, this should go in the default shortcuts (sorry I did not get back sooner, I just got into bluebottle today.) (the wx.stc.STC_CMD_LINEDUPLICATE bit).

       

Log in to post a comment.