Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. QtCreator->Edit Source Files->Delete Key not working
Forum Update on Monday, May 27th 2025

QtCreator->Edit Source Files->Delete Key not working

Scheduled Pinned Locked Moved Solved Qt Creator and other tools
7 Posts 3 Posters 1.9k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    dheerendra
    Qt Champions 2022
    wrote on 25 Jan 2017, 10:08 last edited by
    #1

    Qt Creator->Editing source files.
    Not able to delete the entire line or word using delete key on MAC.
    I'm able to select the line or word using Mouse.
    If I hit delete key, nothing happens. Any idea how do I enable this. I tried with Qt 5.5, 5.6, 5.7 and 5.8. Same issue.

    Dheerendra
    @Community Service
    Certified Qt Specialist
    http://www.pthinks.com

    1 Reply Last reply
    4
    • M Offline
      M Offline
      mrjj
      Lifetime Qt Champion
      wrote on 25 Jan 2017, 10:12 last edited by mrjj
      #2

      Hi
      That sounds odd.
      It works in other apps ?

      As work around you can assign a key to the command
      alt text
      Ok also make sure FakeVim is not enabled. That can also wreck havoc on any normal editing :)

      1 Reply Last reply
      4
      • D Offline
        D Offline
        dheerendra
        Qt Champions 2022
        wrote on 25 Jan 2017, 10:22 last edited by
        #3

        Made it work. There is no key assignment for DeleteLine.

        1. Go to QtCreator->Preferences->Keyboard
        2. In the filter edit box, type DeleteLine. You will see the DeleteLine under TextEditor options
        3. Select DeleteLine using the mouse
        4. Click on the "Record" button
        5. Now press Delete key on your keyboard
        6. It records the key sequence and stores the same for deleteline.

        Now you can check this by going to Editor, Select line or block of lines, hit delete key on your keyboard. It works.

        Dheerendra
        @Community Service
        Certified Qt Specialist
        http://www.pthinks.com

        M 1 Reply Last reply 25 Jan 2017, 10:29
        5
        • D dheerendra
          25 Jan 2017, 10:22

          Made it work. There is no key assignment for DeleteLine.

          1. Go to QtCreator->Preferences->Keyboard
          2. In the filter edit box, type DeleteLine. You will see the DeleteLine under TextEditor options
          3. Select DeleteLine using the mouse
          4. Click on the "Record" button
          5. Now press Delete key on your keyboard
          6. It records the key sequence and stores the same for deleteline.

          Now you can check this by going to Editor, Select line or block of lines, hit delete key on your keyboard. It works.

          M Offline
          M Offline
          mrjj
          Lifetime Qt Champion
          wrote on 25 Jan 2017, 10:29 last edited by
          #4

          @dheerendra
          Ok, super with text for the picture :)
          I guess "Preferences" should be "Options" ?

          1 Reply Last reply
          0
          • D Offline
            D Offline
            dheerendra
            Qt Champions 2022
            wrote on 25 Jan 2017, 11:43 last edited by
            #5

            Yes, it is "Options" for "Preferences" under Tools for other Operating System

            Dheerendra
            @Community Service
            Certified Qt Specialist
            http://www.pthinks.com

            1 Reply Last reply
            6
            • S Offline
              S Offline
              SGaist
              Lifetime Qt Champion
              wrote on 25 Jan 2017, 23:50 last edited by
              #6

              Hi,

              Preferences is the name of the applications settings/options/preferences on macOS. It's a standard menu common to all application having settings.

              Interested in AI ? www.idiap.ch
              Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

              1 Reply Last reply
              1
              • D Offline
                D Offline
                dheerendra
                Qt Champions 2022
                wrote on 26 Jan 2017, 10:31 last edited by
                #7

                @SGaist what I mean here is that "Preferences" is shown only in MAC. However on windows/Unitx it is shown under "Tools->options"

                Dheerendra
                @Community Service
                Certified Qt Specialist
                http://www.pthinks.com

                1 Reply Last reply
                5

                1/7

                25 Jan 2017, 10:08

                • Login

                • Login or register to search.
                1 out of 7
                • First post
                  1/7
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • Users
                • Groups
                • Search
                • Get Qt Extensions
                • Unsolved