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. 'Emacs Keys' plugin is not working in QtCreator 17
Forum Updated to NodeBB v4.3 + New Features

'Emacs Keys' plugin is not working in QtCreator 17

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
4 Posts 3 Posters 77 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.
  • canellasC Offline
    canellasC Offline
    canellas
    wrote last edited by
    #1

    I updated QtCreator to version 17.0.0 and 'Emacs Keys' plugin is not working anymore, I mean, none of the keyboards Emacs shortcuts, like 'crtl+n' for line down, are working and they appear in italic font in 'Edit/Preferences/Environment/Keyboard' as shown in the picture below.

    dddd38fa-a4c5-461d-80ea-fc6e50109748-image.png

    Does anyone have an idea why this is happening?

    Thanks in advance

    1 Reply Last reply
    0
    • hskoglundH Offline
      hskoglundH Offline
      hskoglund
      wrote last edited by
      #2

      Hi, I got struck by a similar problem with my Wordstar plugin, it turns out, starting with version 17.0.0 QtCreator has switched from using QPlainTextEdit to an internal 100% compatible clone called Utils::PlainTextEdit.

      So all the places where EmacsKeys casts from QPlainTextEdit (I see 3 of them):

      m_currentEditorWidget = qobject_cast<QPlainTextEdit*>(editor->widget());
      

      needs to be changed to:

      m_currentEditorWidget = qobject_cast<Utils::PlainTextEdit*>(editor->widget());
      

      For more see the discussion here

      1 Reply Last reply
      2
      • cristian-adamC Online
        cristian-adamC Online
        cristian-adam
        wrote last edited by
        #3

        Thank you for reporting this, has been now fixed at EmacsKey: Use Utils::PlainTextEdit instead of QPlainTextEdit

        You can get a snapshot of Qt Creator 17.0.1 the next days with the fix.

        1 Reply Last reply
        1
        • canellasC Offline
          canellasC Offline
          canellas
          wrote last edited by
          #4

          Thanks for your answers and actions!

          1 Reply Last reply
          1

          • Login

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