Skip to content

Cleanup the key handling code in the editor #4146

Closed
@lmihalkovic

Description

@lmihalkovic

There are a number of open issues that can be traced to a few problems with the configuration of the code editor. This task is to address the core issue and remove the hacks. The cleanup will allow

  • switching to the latest version of the RTA lib (i am using the MASTER branch without issues so far - I also removed the patches to allow running the version directly from the distribution instead of having to patch things up for ArduinoIDE each time)
  • fixing some of the navigation issues (nextTab/prevTab...)
  • support for clean management of key bindings (Provide configurable key bindings #4086 - even if this is just to be able to list them all)

note: the situation is still controllable and the removal work is still not too overwhelming, but it is the right time to remove the cruft, and new features will come almost for free.

As Brian Goetz likes to put it (nothing wrong with that):

Yesterday's solutions are today's problems

Activity

matthijskooijman

matthijskooijman commented on Nov 16, 2015

@matthijskooijman
Collaborator

With RTA you mean RsyntaxTextArea, I presume? AFAIK there is only a single change made to that library to help with the undomanager (see this repository). Are you saying this change is no longer needed or integrated in RTA master?

You talk about issues with key handling, can you be more specific about what issues you are referring to?

ffissore

ffissore commented on Nov 16, 2015

@ffissore
Contributor

Once again, thank you @lmihalkovic However, you yourself mentioned the issues the already existing issues. Hence this issue is a duplicate. Moreover, we already use the latest version of RTA, which is version 2.5.8 https://github.com/bobbylight/RSyntaxTextArea/releases. And no, we won't use its master branch: we already have enough issue to deal with.

added this to the Release 1.6.7 milestone on Nov 16, 2015
self-assigned this
on Nov 16, 2015
lmihalkovic

lmihalkovic commented on Nov 16, 2015

@lmihalkovic
Author

@ffissore I can imagine how difficult it seem to handle the maintenance. I hope that at some point you get to have the time and space to see that some of the open issues would go away by removing code, rather than adding more short term fixes.

NOTE: master works just fine.

lmihalkovic

lmihalkovic commented on Nov 20, 2015

@lmihalkovic
Author

Cleaning up would be nice in order to support clean binding management, but it is possible to at least display things without too much headaches

qa-keys

lmihalkovic

lmihalkovic commented on Nov 26, 2015

@lmihalkovic
Author

Done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type: DuplicateAnother item already exists for this topic

Type

No type

Projects

No projects

Relationships

None yet

    Development

    No branches or pull requests

      Participants

      @matthijskooijman@ffissore@lmihalkovic

      Issue actions

        Cleanup the key handling code in the editor · Issue #4146 · arduino/Arduino