jEdit Community - Resources for users of the jEdit Text Editor
Console:How to change the Command properties from script?
Submitted by mabra on Sunday, 16 July, 2006 - 00:38
Hello,

in the ongoing process to adapt all my work the JEdit Smiling
I am also finding some limits though. For example, I'll just execute a buffer with a script engine and the console plug-in does this. But I would like to control, if a COMMAND uses a buffer via TO_BUFFER or just outputs into the console itself.

Is there any way to modify the running buffers properties from the running script?

I just tried:

this.toBuffer = true;

but - even this don't raise any errors - it just does not work. Providing the GUI for this is easy.
Any help would be great!

Thanks so far and best regards,

Manfred
Comment viewing options
Select your preferred way to display the comments and click 'Save settings' to activate your changes.
using console plugin in macros
by Robert Schwenn on Sun, 16/07/2006 - 13:29
1. Method for output in console window: runCommandInConsole()
2. Method for output in a new buffer: runCommandToBuffer()

For details see help for console plugin, Chapter 7.

Robert
 
That's just another way
by mabra on Mon, 17/07/2006 - 17:06
Hi !

Much thanks!

But this is a way for "standalone" macros, not for the "Console Plugin" Eye-wink
The "Console Plugin" offers a simpler way to create a GUI for some parameters.
My question came from the possibility, that I had not seen/understand that all Eye-wink

Anyway, thanks!

Best regards,
Manfred
User login
Browse archives
« November 2024  
MoTuWeThFrSaSu
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
 
Poll
Are you interested in language packs for jEdit?
Yes, and I could help maintain translations
26%
Yes, I'd like to have translations
32%
Indifferent
35%
No, that'd be bad (please comment)
7%
Total votes: 1093
Syndication
file   ver   dls
German Localization light   4.4.2.1   101634
Context Free Art (*.cfdg)   0.31   46062
BBEdit scheme   1.0   18601
JBuilder scheme   .001   18502
ColdFusion scheme   1.0   18031
R Edit Mode - extensive version   0.1   17481
Advanced HTML edit mode   1.0   16213
Matlab Edit Mode   1.0   16075
jEdit XP icons   1.0   15236
XP icons for jEdit   1.1   14300