Menu ▾ ▴

Put caret anywhere and start typing

Lobor
2009-08-16
2012-11-14
  • Lobor

    Lobor - 2009-08-16

    Hi.

    I'm looking for a feature. Basicly you can put the caret anywhere in a document and start typing - like on any row and column without making any spaces or line breaks before that point. Does this kind of feature have a name?

    Does Notepad++ support it in some way? Or does anyone know of a text editor which supports this?

    Thanks.

     
    • Glenn

      Glenn - 2009-08-18

      That does help.  I have never heard of this.  Thanks.

       
    • cchris

      cchris - 2009-08-16

      Scintilla does not support this at this point, though it is on the TODO list. As a consequence, Notepad++ doesn't (yet) have it.

      Manu editors have this feature. ConTEXT does, and is not alone.

      CChris

       
    • Lobor

      Lobor - 2009-08-16

      Thanks. I hope Scintilla will get this feature soon. I'll use ConTEXT for purposes where I need this feature for now.

       
      • Glenn

        Glenn - 2009-08-17

        I have to admit that I do not understand what you are talking about here.  Could anyone explain further?

         
    • cchris

      cchris - 2009-08-17

      In any text editor, the visible wndow displays lines of text. Some of them extend up to the right edge of the window, some don't.
      So, what does it mean to click, or move the caret to, a place that is between the end of a line and the right edge of the window? It is up to the editor to decide, and there arebasically  two schools:
      1/ The restricive one: there is no text here, so go to the "closest" position where there is text. This is usually the end of the line or the start of the next line. Scintilla, hence Notepad++, belongs to this class of editors.
      2/ The smart one: extend text with spaces, so that the caret is now at the end of the line. Smarter editors do not actually perform the extension until a character is typed. As I said, ConTEXT allows this, among many others.

      Smart editors usually allow a user to choose the restrictive or smart moe via a configure dialog.

      HTH
      CChris