Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-29039

Cursor position when inserting a text-editor snippet

    XMLWordPrintable

Details

    Description

      When inserting a text-snippet like

      while ($condition$)
      {
        $$
      } // while

      The cursor is positioned at 2 and not at position 1 as previously.

      while ($condition$)
      {
        1
      2} // while

      The attached files show the effect on Qt Creator 10.0.0 and Qt Creator 9.0.0. The blinking caret has been added manually at the place he is blinking, which is for Qt Creator 10 just before closing }.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            artem.sokolovskii Artem Sokolovskii
            skmyro Geert Mys
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes