Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: scijava/script-editor
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 9762eaa
Choose a base ref
...
head repository: scijava/script-editor
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 2a685f1
Choose a head ref
  • 6 commits
  • 14 files changed
  • 3 contributors

Commits on Oct 4, 2026

  1. Rework editor completion onto the neutral CodeCompleter SPI

    Make the script editor a thin adapter over scijava-common's toolkit-agnostic
    completion SPI, so languages contribute completion with no Swing/RSTA code:
    
    - SciJavaCompletionProvider: the single bridge translating neutral
      Completions to RSTA completions (BasicCompletion, or FunctionCompletion
      for callables so parameter assistance engages), and neutral
      ParameterChoices to RSTA's ParameterChoicesProvider.
    - CodeCompleterLanguageSupport: lightweight completion tier installed for
      any language providing a CodeCompleterPlugin.
    - SciJavaAutoCompletion + SciJavaCompletion/SciJavaFunctionCompletion +
      AdditionalEdits: apply language-neutral auto-imports (Completion.TextEdit)
      on acceptance, across both basic and function completions.
    - EditorPane: resolve completion via explicit tiers (heavy RSTA plugin ->
      neutral CodeCompleter -> RSTA legacy -> Java fallback), tracking the
      installed support; existing LanguageSupportPlugins keep working.
    - PromptPane: REPL Tab-completion via CodeCompletionService, so every
      language gets baseline interpreter completion.
    - ClassUtil: reduced to a thin facade over scijava-common's ClassIndex.
    
    pom.xml carries a temporary scijava-common.version override until a release
    pins the new SPI.
    
    Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
    gselzer and claude committed Oct 4, 2026
    Configuration menu
    Copy the full SHA
    a36bf39 View commit details
    Browse the repository at this point in the history
  2. Add built-in Python (Jython) syntax highlighter

    Syntax highlighting requires an RSyntaxTextArea TokenMaker, which is
    inherently editor-side. Provide it here so the toolkit-agnostic Jython
    scripting plugin (scripting-jython) need not depend on the editor or RSTA;
    this replaces the highlighter formerly in script-editor-jython.
    
    Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
    2 people authored and gselzer committed Oct 4, 2026
    Configuration menu
    Copy the full SHA
    99e053d View commit details
    Browse the repository at this point in the history
  3. Update copyright headers for 2026

    ctrueden authored and gselzer committed Oct 4, 2026
    Configuration menu
    Copy the full SHA
    1ab4eac View commit details
    Browse the repository at this point in the history
  4. WIP

    ctrueden authored and gselzer committed Oct 4, 2026
    Configuration menu
    Copy the full SHA
    5424db8 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    6a8ddc7 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    2a685f1 View commit details
    Browse the repository at this point in the history
Loading