Bug #3288

Text editor, 'Execute script' command doesn't work

Added by Serge Heiden about 1 month ago. Updated about 1 month ago.

Status:New Start date:09/30/2022
Priority:Normal Due date:
Assignee:- % Done:


Category:Commands Spent time: -
Target version:TXM 0.8.2


In a text editor opened on a .groovy file, the command does nothing and no error message.

The 'Execute text selection' works.


- fix the silent NPE before calling the Groovy Script Engine
- use the GroovyShell.execute() method instead of the GroovyScriptEngine.createScript() method. The lastest needs the script to be in the root directory (TXMHOME/scripts/groovy/user)


#1 Updated by Matthieu Decorde about 1 month ago

  • Description updated (diff)
  • % Done changed from 0 to 70

Also available in: Atom PDF