jEdit Community - Resources for users of the jEdit Text Editor
placing scrollbar or tabs in commando custom UI ..
Submitted by d_l on Tuesday, 12 January, 2010 - 17:24
I have a number of options/arguments to to be selected in a commando UI window.
The selected arguments are concatenated into a long command line (as in java.xml commando example).
However the number of arguments to be selected creates a UI with too many lines and too large a height.

Can I add a scroll bar and/or additional tabs to a custom commando UI?

.. to be placed in %USERPROFILE%\.jedit\console\commando\ ?

There are already two default tabs which show in the commando UI window -
"Settings" and "Commands" -
so it must be possible to insert extra tabs.
e.g. Settings 1, Settings 2, Settings 3, Commands

But I don't see any syntax for "scrollbar" or "tabs" in Commando help.
And what sets the width/height dimensions of the commando UI?

Thanks for any tips on extending the UI.
startup.js has problems!
Submitted by zcjsg on Monday, 11 January, 2010 - 01:56
when using the javascript shell plugin,I refrenced the jedit help,
found there is an file "startup.js" .
I putted it into the "startup"directory of jedit setup dirs,
restart jedit,but see error screens.
then i found these codes(seems something wrong) in "startup.js".

function include(path) {//{{{

var paths, i;

if (!path) {
paths = openFileDialog();
for (i = 0; i /}}}

//{{{ echo function

anyone help?
Small problem with FTP plugin when username contains @
Submitted by marchost on Tuesday, 17 November, 2009 - 14:23
Hi all, first if some of jedit developper are reading this, I would like to say that jedit is a wonderful editor, continue your great work...

I just ran into a small issue today with the FTP plugin.

I couldnt connect to a FTP (using plugin->ftp->connect to ftp) when a username had an "@" (user@domain.net) it would create an address of : ftp://user@domain.net@domain.net:21 which obviously dont work.

The workaround is to put the FTP address in the path and after the plugin prompt for user/password...
NetRexxScript plugin
Submitted by kermit on Sunday, 1 November, 2009 - 22:31
Newbie plugin developer here. I have a new plugin ready for beta testing. It adds support for NetRexx macros/scripts in jEdit. (Before anyone mentions the SuperScript plugin - yes I know about it and [A] it doesn't work, [B] BSF 2.x NetRexx support is slower than molasses, [C] it has no real features for practical use, [d] and did I mention that it doesn't work? Eye-wink

Should I upload it here first since it may not be production quality yet and I am not really sure it is in the right format for Plugin Central? Can anyone check it out and give pointers on the next steps? I will try to do the submit process to sourceforge also when I get time.

By the way, even if you don't want to learn anything about NetRexx, this plugin supports compiled Java classes as jEdit macros also so it may have a wider appeal. Anyway here is the announcment that I posted to the NetRexx mailing list:

The NetRexxScript plugin for jEdit is now feature complete and ready for beta testing.

Here are the main features:

* Efficient execution of NetRexx scripts and macros in jEdit
* Optional caching of parsed scripts to improve performance
* Option to "preparse" all available scripts as a unit for performance (aka "greased lightning mode") and cross-script access support
* Option to suppress or allow trace output
* Options to execute a currently open NetRexx file including unsaved changes
* Optional dockable console window with command line to run scripts with parms and view say output or respond to ask input
* View say output with or without trace from the console window to aid debugging
* Option to "prefix" scripts automatically adds access to jEdit functions and variables
* Script parse errors are automatically highlighted in script source files and listed in the "Error List" as well as displayed in a console window
* User defined "classpath" option for making classes available to NetRexx scripts
* User defined "scriptpath" option for access to scripts outside of jEdit macro libraries
* Support for executing compiled NetRexx scripts or any "main" type Java class file as a macro or console command
* Includes an updated version of the "NetRexx at Once" cross reference guide to Java and NetRexx

Here are the distributions:

Binaries -

http://kermitkiser.com/NetRexx/Script/NetRexxScript-0.1.0-bin.zip
http://kermitkiser.com/NetRexx/Script/NetRexxScript-0.1.0-bin.tgz

Binary plus source -

http://kermitkiser.com/NetRexx/Script/NetRexxScript-0.1.0.zip
http://kermitkiser.com/NetRexx/Script/NetRexxScript-0.1.0.tgz

Help document:

http://kermitkiser.com/NetRexx/Script/NetRexxScript.html

To install, download and unzip a distribution file, copy NetRexxScript.jar and NetRexxC.jar to your jEdit profile "jars" directory, then restart jEdit. The jars directory is probably "C:\Documents and Settings\username\.jedit\jars" on Windows or "/home/username/.jedit/jars" on Linux.

To verify the install, select Plugins => NetRexxScript => NetRexxScript to open the console window, dock it at top or bottom, then select Macros => NetRexx to run the included sample scripts or just type some NetRexx in a new edit window and click the "Run current" button in the console.

Please let me know if there are any problems.

-- Kermit
Cant get hyperlink plugin to work
Submitted by robw on Friday, 23 October, 2009 - 21:09
I have installed the hyperlink plugin and assumed it would work the way it does in every other editor I've used. You can click on the link while holding the CTRL key down and I assumed that it would open the page in a brower. However, it just grabs the source code of the page and opens it the the editor. Very odd. Am I configuring it incorrectly? I cant find any documentation for it. Perhaps the is an alternatiev way of rendering hyperlinks as hot spots. Assistance appreciated.

RobW
Options Not Visible
Submitted by ptoole on Wednesday, 30 September, 2009 - 20:59
I am unable to see the "Example" option show up under the Plugin Options. Has anyone seen this behavior before?

Running jedit in debug mode returns NO errors, I get no messages back. I've tried all permutations including options-group in my properties file. Other plugins appear to be working fine.


Here's my proprty file:


# Properties file for example plugin

# application activator (4.2)
plugin.examplePlugin.activate=defer

# general plugin information
plugin.com.example.fe.jedit.ExamplePlugin.name=example
plugin.com.example.fe.jedit.ExamplePlugin.description=Tools used for example Development
plugin.com.example.fe.jedit.ExamplePlugin.longdescription=description.html
plugin.com.example.fe.jedit.ExamplePlugin.author=Patrick Toole
plugin.com.example.fe.jedit.ExamplePlugin.version=0.2
plugin.com.example.fe.jedit.ExamplePlugin.docs=index.html
plugin.com.example.fe.jedit.ExamplePlugin.depend.0=jedit 04.02.09.00
plugin.com.example.fe.jedit.ExamplePlugin.depend.1=jdk 1.3

# window title
example.title=Explain Plan


# labels for dockables.xml
ExplainPlanImage.title=Explain Image
ExplainPlanImage.label=Explain Image Window
ExplainPlanText.title=Explain Text
ExplainPlanText.label=Explain Text Window
QueryTableMetrics.title=Table Metrics
QueryTableMetrics.label=Table Metrics Window
QueryTableColumns.title=Table Columns
QueryTableColumns.label=Table Columns Window
QueryProjections.title=Projection Definitions
QueryProjections.label=Projection Definitions Window



# application menu items (4.2)
plugin.com.example.fe.jedit.examplePlugin.menu=example.explain-selection
# labels for actions
example.explain-selection.label=Explain Selection

# option pane
plugin.com.example.fe.jedit.ExamplePlugin.option-pane=example-sql
options.example-sql.label=Example
options.example-sql.code=new com.example.fe.jedit.ExampleOptionPane();
Uniquely identifiying a Group node in Project Viewer plugin
Submitted by drequena on Sunday, 16 August, 2009 - 12:54
Hi all,

Hope this is the right forum to ask.

Project Viewer plugin allows for project groups with the same name even at the same tree depth level. I need to get at the same VPTGroup node on each run when my own plugin initializes but cant use node paths plus node names for this purpose. Storing an index into and array of equally named groups wouldn't work either as groups before mine could get deleted form PV's main ui.

Setting a custom Icon for my Group could be a solution as I could check on this bu then, no method is available for setting node Icons, just for getting them.. Maybe I've overlooked this?

I've been studying PV's api but couldn't find anything appropriate. Anyone could give any hint?

Thanks in advance,
David
Listening for Buffer Selection
Submitted by Chemluth H. on Monday, 11 May, 2009 - 10:20
Hi!

I want my plugin to react if the user selects a Buffer or loads a new Buffer. The plugin should check then the path and do its actions, if it is responsible for the file which is shown in the Buffer.

How can I do this?

Greets

Chemluth
Write macros in Java
Submitted by leshij on Monday, 27 April, 2009 - 16:28
Hello all.
Having written a pair of longer-then-ten-lines macros, I really missing coding support features like code completion, integrated javadoc and so on that is available in modern Java IDEs. I think it would be nice to have an ability to write macros in Java with your favourite IDE (yes, I know, there is IDE support for many languages, including dynamic ones, but such a support is a number of magnitude weaker then one for Java).
I have dirtily implemented this features inline in jEdit source code.
Is anyone interested in this? If so, I can repack it as a plugin.
Horizontal Scroll for JDiffPlugin
Submitted by allquixotic on Wednesday, 15 April, 2009 - 20:16
One thing that continually bugs me about graphical diff programs (not just JDiffPlugin, but every single one I've encountered) is that they don't scroll the viewport and move the caret to the column where the difference actually begins. As an example of a file where this is terribly useful, imagine an XML file where the diffs are spread out among hundreds of different elements, and most of the diffs begin at the end of a physical line that spans 200 - 1000 or more columns.

Word wrapping is really awful with XML, too, because most XML stuff doesn't wrap very well.

The solution, for me, was to hack JDiffPlugin to do what I want.

There are now two new plugin options under "General". Here are more thorough explanations of the behavior:

1. "Scroll horizontally to next/prev diff" -> When you activate the menu action `Plugins -> JDiff Plugin -> Go To {Next/Previous} Difference', the following occur:
(i.) The caret in both buffers is bound to the first character on the current physical line that differs between the files.
(ii.) The horizontal offset of the text area is set to align the caret with the left side of the text area. This, in effect, lets you see as much of your match as the text buffer will allow. There are two types of over/underflow: First, your match (the whole diff) can be so large that it still hangs off the viewport to the right. Second, your match can be small enough that the end of the line is hit, so the viewport doesn't actually align the caret all the way to the left.

2. "Select first word in next/prev diff" -> When you activate the menu action listed above, the first word of the diff is selected in both buffers. This is just a visual cue to further obviate the actual location of the diff. Ideally this feature would creep to select the entire diff, up to the end of the line (but not beyond).

This does have rather particular use cases:

1. Changes occurring frequently near the end of the line.
2. Many scattered changes at wildly different column positions.
3. Screens deprived of much horizontal width (such as laptops).
4. Enables very rapid deletion/modification of a batch of diffs that you already know how to fix, because the caret is placed right where you expect it to be for each diff.

I split my changes into a separate .patch file for each. This tarball does create a folder upon extraction so you won't get spew if you untar it without creating a folder Smiling

http://tiyukquellmalz.org/horiz_scroll_patch.tar.bz2

I also added a new API function to the core JEdit object TextArea in the hope that it will be useful. I needed to implement this method to solve my problem (1) above. Perhaps it can be extended to do left/center/right justification based on an enum value, but that's a bit out of the scope of my work for now.

Note: this patch will NOT work without also rebuilding jEdit from source and incorporating the modified TextArea.

Thanks,

Sean McNamara
FTP plugin issues
Submitted by neerolyte on Thursday, 22 January, 2009 - 23:32
Firstly I think this plugin is great, but I do have a few issues with it.

I only use the SFTP component of the plugin so all my issues relate to that. I did start pulling apart the code to see if I could fix some of these myself but I'm not that familiar with java or ant so I didn't get to far (yet).

60 second session timeout - I regularly work with servers that take 10-15 seconds to reauthenticate each time so this setting is a huge pain, can an option be put in to let people change the timeout value (I've altered the hard coded value in mine to be 1 day).

SFTPConnection::showMessage() function - This only seems to run for me when I reconnect to a server, it will simply display the MOTD file. Would it be possible to have a tick box to say "don't display these messages in the future" that stored either the whole message or a hash and avoided redisplaying them if they matched? (I currently just have the contents of that function commented out).

Authentication fail - if I type my password wrong I have to shutdown jEdit to be able to enter a new password. This is annoying enough on it's own, but in our environment a few password failures locks out our accounts, meaning if I don't remember to shutdown jEdit as soon as I receive the auth fail dialog I'm very likely to lock out my account on at least one server.

Keep up the good work.
If I can find some more time to play with this again I may try and implement these myself and send patches back, but I thought for now I'd just post and see if anyone else might fix them for me Smiling
jspwiki plugin?
Submitted by Skeeve on Tuesday, 20 January, 2009 - 13:19
Hi!

Does anyone know of a JSPWiki plugin? I saw a plugin (MwJed) for mediawiki but this does not seem to be compatible to jspwiki.
Where are new plugins ?
Submitted by michaelm on Wednesday, 14 January, 2009 - 23:36
Hi,

Do somebody knows what are new plugins announced on http://plugins.jedit.org/updates.php (AboutPlugins and JSLing) about and where to find them ?

Michaël
SuperAbbrev Problem
Submitted by nyte on Friday, 14 November, 2008 - 04:29
Hello everyone,

I'm new to jEdit but already love it. I'm trying to setup a nice development area for Ruby on Rails. everything works great. I have superAbbrev plugin abbreviation files for .rhtml files but I would like them to be active for .html.erb files since it's the new way of doing things in ruby on rails. Is there an easy way to associate the the rhtml abbreviation file with the new file extension (.html.erb)

I hope that made sense

thanks,
nyte
Zenburn Look and Feel
Submitted by vlad1410 on Saturday, 8 November, 2008 - 10:14
I badly need the Zenburn theme applied to my Jedit ... got an eye problem to solve.
I saw Dale applied this theme to the Lipstik look and feel, available via the "Look and Feel" plugin. Screenshot: http://www.jedit.org/index.php?page=screenshot&image=35
Now, I'm asking any of you, that can compile the SVN code, to please offer me the jar of the new Look and Feel plugin;
- the new jar of the Lipstik look I already copied, but this is not enough to set the Zen theme.

Also any other possibilities of applying a Zenburn theme is welcomed.

Thanks, Vlad
TextAutocomplete download 0.9.8b do not work.
Submitted by Berthold58 on Wednesday, 5 November, 2008 - 06:23
Hallo,

the download of the plugin TextAutocomplete 0.9.8b do not work.
Does anybody know why ?
How can I solve the problem.
Thanks.
Berthold.
Eclipse + Plugin dev
Submitted by WarrickF on Thursday, 4 September, 2008 - 02:47
Hi Guys,

I've inherited a plug-in that was developed for internal use. According to the documentation the process for building \ debugging is as follows:

1. Open project in Eclipse
2. File > Export > JAR File
3. Export to C:\Program Files\jEdit\jars\Plugin.jar
4. Launch JEdit
5. Go to plugin manager and enable the plugin.

This seems to be a rather tedious and takes a long time to test even the simplest change.

Can someone suggest a better way please? Ideally I'd like to be able to add break points that are triggered while using the plugin through JEdit.

I apologize if this is a newbie type question.

Thanks
Warrick
New Menu Entry in VFSBrowser
Submitted by Chemluth H. on Thursday, 28 August, 2008 - 14:23
Hello,
is it possible to add a menu item to the VFSBrowser context-menu (where stuff like rename/delete etc. is located) ?

Greetings

Chemluth
Ftp plugin with broken pipe exception
Submitted by tony1016 on Wednesday, 27 August, 2008 - 01:49
My environment is Ubuntu 8.0.4+JDK6.0+Jedit 4.3 pre15.The ftp plugin always shows a broken pipe exception.So what is a broken pipe exception??
BufferTabs 1.1.0
Submitted by thewiglaf on Tuesday, 12 August, 2008 - 02:37
I installed jEdit 4.3pre15 and thus needed to install the latest BufferTabs plugin that was released today (0.8.3 will not load on 4.3pre10). Two things:

1. You can no longer change the position of individual tabs by dragging them. Now they'll just stay in whatever position they get loaded in.

2. The jEdit site says 0.8.3 works with 4.2final and up. Unless I need to do some extra leg work to get it loaded with 4.3pre15, that's wrong.

I've decided I want to keep 4.3pre15 with our without movable tabs. Is there a way to get these tabs to change position or do we all have to wait for another release if we want to use 4.3pre15?
User login
Browse archives
« April 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   82349
Context Free Art (*.cfdg)   0.31   46055
BBEdit scheme   1.0   18595
JBuilder scheme   .001   18495
ColdFusion scheme   1.0   18024
R Edit Mode - extensive version   0.1   17473
Advanced HTML edit mode   1.0   16206
Matlab Edit Mode   1.0   16068
jEdit XP icons   1.0   15229
XP icons for jEdit   1.1   14293