jEdit Community - Resources for users of the jEdit Text Editor
Archives
JEdit and Python
Submitted by bbbbbb on Saturday, 4 March, 2006 - 10:16
Hello ,
Is it possible to use JEdit with Python?
I mean if it is possible to run Python scripts directly from JEdit.
Thanks
L
History file no longer updated but other settings files are
Submitted by John Jameson on Saturday, 4 March, 2006 - 16:49
File ~/.jedit/history is no longer being updated between sessions, though it is still read at startup.

Permissions are OK, and other settings files (eg activity.log) _are_ being updated OK.

Any advice/suggestions appreciated!

Version: 4.2final, MacOSX 10.4.5, java 1.4.2_09

Plugins:

BufferTabs.jar
Clipper.jar
CodeBrowser.jar
ColumnRuler.jar
CommonControls.jar
Console.jar
CssEditor.jar
CssValidator.jar
ErrorList.jar
FTP.jar
JCounter.jar
JDiffPlugin.jar
JakartaCommons.jar
Jump.jar
PHPParser.jar
ProjectViewer.jar
RETest.jar
SideKick.jar
TaskList.jar
TextFilter.jar
WhiteSpace.jar
XML.jar
XSLT.jar
XmlIndenter.jar
bcel.jar
commons-codec-1.3.jar
commons-collections.jar
commons-httpclient-2.0.1.jar
commons-lang-2.0.jar
commons-logging.jar
htmlparser.jar
j2ssh-common.jar
j2ssh-core.jar
jEditCvs.jar
kappalayout.jar
log4j.jar
xalan.jar
xercesImpl.jar
xml-commons-resolver.jar
xmlParserAPIs.jar
xmlrpc-2.0.1.jar
Does jEdit have Autocomplete for C++?
Submitted by Zdravko on Sunday, 5 March, 2006 - 11:37
Does jEdit include some kind of code autocompletion? Let's say I have a C++ object and I want by typing: obj. to have all member functions listed. Or for example when I type :: to have every function in that namespace?
Why do I get two instances of jedit in the taskbar (windows xp)
Submitted by Craig Schmidt on Monday, 6 March, 2006 - 15:33
I had been using jedit without any problems. However, a few days ago I started getting two instances of jedit whenever I start it. That is, there are two applications called jEdit in the task manager, there are two icons that appear in the task bar, etc. The two copies of jedit sort of stay in sync. (They update themselves to have the same files open.) If you quit one, the other quits as well.

I don't have any sessions defined except "default". To my knowledge, I didn't do anything to get this behavior.

I start jedit with the following shortcut:

"C:\Program Files\Java\jre1.5.0_04\bin\javaw.exe" -mx96m -jar "C:\Program Files\jEdit\jedit.jar"

I'm running windows xp.

Any suggestions?
Thanks,
Craig Schmidt
Automatically run Ant on the default target of the build file for frontmost buffer (Run.bsh v1.0 by Philip Weaver)
Submitted by philmaker on Tuesday, 7 March, 2006 - 09:47
It's kind of cumbersome to have to switch between ProjectViewer and AntFarm during development. So I created this simple macro (3 lines) to allow me to press command-r to run the nearest build file for the frontmost buffer. You'll also need to create a keyboard shortcut yourself.

The script assumes that AntFarm and ProjectViewer are docked in the same pane. Whenever AntFarm runs, its panel becomes visible automatically, so the macro quickly switches it back to ProjectViewer (which I always leave open.)

If you have any questions or would like to enhance this, feel free to contact me at philip at philmaker dot com. All of this is documented in jEdit help:

- Console Plugin Help: 6. Macros and the Console plugin
- AntFarm Plugin Help: 5. The Ant Shell
- jEdit API Reference: org.gjt.sp.jedit.gui.DockableWindowManager
Date Tag Buddy (Date_Tag_Buddy.bsh v0.2 by Ralf Kintrup)
Submitted by RalfK on Tuesday, 7 March, 2006 - 11:12
[READ THIS USING THE MACRO MANAGER] Updates certain date value tags in an HTML buffer (the current edit mode must be "html"): 1. Updates the date value of a modification date tag:
Last modified: 01 Mar 2006
2. Updates the year in a copyright text: © Me 2006 Updates all "includes" in an HTML buffer. An include is defined as two HTML comments where the first one contains the path to a file that should be inserted between the comments: The path can be relative, as in the example, or absolute. Included files may contain date tags. The date tag and "include" updates can be automatically updated when the buffer is saved. Therefore install Ollie Rutherfurd's ActionHooks plugin (http://plugins.jedit.org/plugins/?ActionHooks) and set it up: 1. Add the Date Tag Buddy macro to the "BufferUpdate.SAVED" event list. 2. Configure the ActionHooks plugin to start up with JEdit. This ensures that date tags and "includes" are automatically updated whenever the HTML buffer is saved. A modification tag is identified by
and
. A copyright text is identified by © and . The macro assumes that the date value is located at the end of each tag. To change the default behavior of the macro you can modify the constants at its end. Checked for jEdit 4.3pre3 API.
OS-X "open" command suddenly stopped working with jEdit
Submitted by patb on Tuesday, 7 March, 2006 - 14:31
Help please! I've enjoyed using jEdit under OS-X but I suddently cannot open files from the command line and I don't know how to troubleshoot this.

For months I've been using this csh alias to open files in jEdit from the command line:

je: aliased to open -a ~/Applications/jEdit\ 4.2/jEdit.app !*

For example:
csh: je junk.txt

This suddenly stopped working. jEdit will start but will not load the specified file. Of course our system adminstrator installs software updates from Apple all the time, but I can't tell whether this is a failure of Apple's "open" command or a failure of jEdit. Has anyone else seen this problem?


If I explicitly run the jEdit executable like this:

~/Applications/jEdit\ 4.2/jEdit.app/Contents/MacOS/JavaApplicationStub junk.txt

then it mistakenly starts a NEW file named junk.txt in the jEdit install directory.

Only if I give the full path to the existing file will it open it:

~/Applications/jEdit\ 4.2/jEdit.app/Contents/MacOS/JavaApplicationStub ~/junk.txt

Any help is much appreciated.
Patrick Broos
Astronomy Department
Penn State University
Remember encoding used in open buffers
Submitted by jere on Tuesday, 7 March, 2006 - 23:24
I have default encoding UTF8. When I have opened files, set buffer encoding to eg. win1250, close jEdit and start it again, it again use UTF8 instead of win1250.
can't find "differ", "fader tabs" plugins
Submitted by pi1ot on Wednesday, 8 March, 2006 - 06:59
I can't find "differ", "fader tabs" plugins of this screenshot:
http://docsynch.sourceforge.net/img/screenshots/jedit/screenshot-main.png
http://docsynch.sourceforge.net/index.php?page[]=2.Screenshots
Automating ProjectViewer (Creating New Projects Programatically)
Submitted by philmaker on Wednesday, 8 March, 2006 - 07:47
I'm interested in writing a macro to generate all of my projects in ProjectViewer. Anyone know if this level of interaction with ProjectViewer is possible. I'm also having trouble generating the complete JavaDoc API for ProjectViewer - anyone know if this is available online?
how to get python de-indent?
Submitted by ilazarte on Wednesday, 8 March, 2006 - 08:11
in the python interpreter, by pressing enter, i get de-indented one level.
how can i emulate this effect in jedit? i saw something about using a backspace bound to greedy backspace? i clicked Macros -> Editing -> Greedy Backspace but nothing happend. i checked in the help about greedy backspace and but i dont see a how-to. am i supposed to edit the .bsh file somehow? (\jEdit\macros\Editing\Greedy_Backspace.bsh)

TIA!
newbie Q: how to Run Buffer using Python?
Submitted by midtoad on Thursday, 9 March, 2006 - 00:40
When I try to "run this buffer", I get an error saying "there is no interpreter associated with this buffer. You can specify interpreters on a mode-specific basis in the Utilities -> Global Options dialog box."

It's certainly helpful to get a suggestion in a case like this. But there is NO place in the Global Option s that I can find where I can specify a Python interpreter.

What's the best way to execute a python script with one click of a toolbar icon?

thanks
S
Adding new web buttons
Submitted by NickW on Thursday, 9 March, 2006 - 00:49
Hi All,
I recently created a couple of new web buttons (based on an existing one) but when I tried to send it to "krisk@acps.org.au" it was returned with an unknown email address error. Anybody got any ideas of how I can submit the new web buttons?
Nick
Clipper Plugin Bug....
Submitted by jesseainskeep on Friday, 10 March, 2006 - 15:13
I seem to be having a problem with the clipper plugin...

When I go into the plugin options, all it has is a place to select a directory.

I also can't find any of the libraries. What I want to do it edit and make my own library, to set up templates and long strings that I end up copying a lot, instead of having two things open and doing copy paste all the time.

What do I do?

Thanks in advance...
Make bookmarklet (Make_Bookmarklet.bsh v1.0 by d delvin johnson)
Submitted by delvinj on Saturday, 11 March, 2006 - 01:38
Make_Bookmarklet.bsh -- removes the newlines and tabs in the current buffer, making the text appropriate for use as a javascript bookmarklet.
remote/local views?
Submitted by szymek on Sunday, 12 March, 2006 - 11:15
Hi!

I'm using dreamweaver most of the time, but now i try to learn ruby on rails, so i decided to give jedit a try.

Is there a plugin that allows to specify a local folder and a remote ftp server for a single project, switch between them and upload/download files from/to both servers?
ConsolePlugin: marks errors on the wrong line (when compiling or running make)
Submitted by DanielKabs on Monday, 13 March, 2006 - 11:46
I recently installed JEdit 4.3pre3 and of course the important ConsolePlugin. Together with ErrorListPlugin, compiling my C/C++ programs works like a charm. Except for one point: sometimes when running make console marks the wrong lines. E.g. the output looks like:
mkformular.c: In function `add_elementlist':
mkformular.c:994: warning: int format, long unsigned int arg (arg 4)
mkformular.c:994: warning: int format, long int arg (arg 5)
mkformular.c:1007: warning: int format, long int arg (arg 4)
Updating version number in version.c
Compiler Run #2343
Consequently, ErrorListPlugin only mentions two of these three warnings. I don't know whether ErrorList has a problem as with having multiple warnings occuring on the same line. Anyway, if I paste this output into the Test Area on Plugin Options > Console > Error Patterns pane of the Generic error pattern it correctly extracts and displays all three warnings. My problem now is:
  • Why does the test show ok, but the real output not?
  • Why does error parsing not work at all when I copy the above text to a file an then run cat file on the console?
Cheers Daniel from Germany
Editing HTML: jEdit inserts new lines
Submitted by vojtec on Monday, 13 March, 2006 - 14:29
When Im editing HTML page, jEdit automatically adds between every two lines new line...
How can I get rid of it?

Thanks for every tip..
Vojtec
Choose and insert file path and name to hyperlinks
Submitted by philaweb on Tuesday, 14 March, 2006 - 12:51
Hi,

I am new to this forum and to JEdit plugin's as well.

Is there a plugin avialable for download with the functionality of choosing and inserting a file path and file name to hyperlinks?

Well, it is the only tedious thing about the plain JEdit version, that I have to type all file paths and names manually.

TIA
Choosing and inserting file path and file name to hyperlinks
Submitted by philaweb on Tuesday, 14 March, 2006 - 12:56
Hi,

I am new to this forum and to JEdit plugin's as well.

Is there a plugin avialable for download with the functionality of choosing and inserting a file path and file name to hyperlinks?

Well, it is the only tedious thing about the plain JEdit version, that I have to type all file paths and names manually.

TIA
User login
Browse archives
« March 2006 »
MoTuWeThFrSaSu
  1
20
25
26
28
 
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   108249
Context Free Art (*.cfdg)   0.31   46071
BBEdit scheme   1.0   18607
JBuilder scheme   .001   18508
ColdFusion scheme   1.0   18041
R Edit Mode - extensive version   0.1   17488
Advanced HTML edit mode   1.0   16222
Matlab Edit Mode   1.0   16086
jEdit XP icons   1.0   15245
XP icons for jEdit   1.1   14309