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 Updated to NodeBB v4.3 + New Features

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

Scheduled Pinned Locked Moved Solved Qt Creator and other tools
7 Posts 3 Posters 2.1k Views 2 Watching
  • 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.
  • dheerendraD Offline
    dheerendraD Offline
    dheerendra
    Qt Champions 2022
    wrote on 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
    • mrjjM Offline
      mrjjM Offline
      mrjj
      Lifetime Qt Champion
      wrote on 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
      • dheerendraD Offline
        dheerendraD Offline
        dheerendra
        Qt Champions 2022
        wrote on 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

        mrjjM 1 Reply Last reply
        5
        • dheerendraD dheerendra

          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.

          mrjjM Offline
          mrjjM Offline
          mrjj
          Lifetime Qt Champion
          wrote on last edited by
          #4

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

          1 Reply Last reply
          0
          • dheerendraD Offline
            dheerendraD Offline
            dheerendra
            Qt Champions 2022
            wrote on 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
            • SGaistS Offline
              SGaistS Offline
              SGaist
              Lifetime Qt Champion
              wrote on 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
              • dheerendraD Offline
                dheerendraD Offline
                dheerendra
                Qt Champions 2022
                wrote on 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

                • Login

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