Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
gnome-builder
gnome-builder
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 497
    • Issues 497
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 19
    • Merge Requests 19
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • GNOME
  • gnome-buildergnome-builder
  • Issues
  • #746

Closed
Open
Opened Dec 31, 2018 by Nicholas Harvey@FrostyPenguinContributor

Autocompleting functions inside autocompleted functions messes up the entire line

I recently noticed that autocompleting a function inside an autocompleted line sets the cursor to a wrong position. If you continue typing the cursor is reset and the entire line slowly messes up the more you try to edit it.

Steps to reproduce (I am using my demo function here):

  • Create a new file that is configured to include GTK+ as a dependency (via Meson).
  • Create a new function similar to this very basic one:
    void
    test ()
    {
      GtkWidget *window = gtk_window_new (GTK_WINDOW_TOPLEVEL);
      
    }
  • Try to type the following line:
      gtk_window_set_tit[ENTER]GTK_WINDO[ENTER]wind[ENTER][TAB]
  • This is the point where, at least for me, the editor stops working in this line.

Version of Builder
I am using

   GNOME Builder
3.31.1-114-g6f953d609
  flatpak-nightly

Video
For those without imagination and for those with a too functional Builder 😃 :

Bug_GNOME_Builder_Autocomplete

Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: GNOME/gnome-builder#746