jEdit Community - Resources for users of the jEdit Text Editor
Archives
Marks are not saved properly
Submitted by fstephens on Monday, 28 February, 2011 - 17:45
I have a constant problem with the marks for a buffer being wrong.
They seem to be shifted to random lines. This does not seem to be related to adding/removing lines in the text area.
Is there a solution to this, or at least a way to easily re-mark all functions?
new guy having problems with java.awt.point
Submitted by stefandanielsen on Tuesday, 1 March, 2011 - 08:26
hey hey guyes... im verry new with jedit and is working my way forward in the programing... i hit a problem... im writing a small program and when im compile it there is no problem but when i try to run it the terminal says this :

stefan-danielsens-macbook-pro:java stefandanielsen$ java Setpoints
Exception in thread "main" java.lang.NoClassDefFoundError: Setpoints (wrong name: setPoints)
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClassCond(ClassLoader.java:632)
at java.lang.ClassLoader.defineClass(ClassLoader.java:616)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
stefan-danielsens-macbook-pro:java stefandanielsen$ java Setpoints
Exception in thread "main" java.lang.NoClassDefFoundError: Setpoints (wrong name: setPoints)
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClassCond(ClassLoader.java:632)
at java.lang.ClassLoader.defineClass(ClassLoader.java:616)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:248)

pleas help me .... what am i doing wrong???
jEdit stuck loading "init macros" on Windows 7
Submitted by msaz87 on Tuesday, 1 March, 2011 - 21:39
Hey All,

I recently had my work laptop upgraded to 64 bit Windows 7 and now I am unable to get jEdit working again. I installed the Java environment, but installing jEdit with the Windows and Java installers both succeed until I launch the program, where it gets stuck on "init macros"

Another odd thing is I can switch users and log in as the computer admin and install it and it will open while I'm logged in there... but when I switch users back and try to open jEdit, it still fails.

Any ideas? Thanks!
Viewing Output with GSview as .pdf
Submitted by trisquirrelon on Wednesday, 2 March, 2011 - 18:56
My Tutorial says that I can view a .pdf after compiling, once having defined the Default Viewer via Plugins->Plugin Options->LaTex tools->General Options I shall apply this path: C:/Programme/Ghostgum/Gsview/gsview32.exe
Unfortunately, opening Plugins->LaTeX Tools->View Output results in "path can not be found". How can I view my .tex file as .pdf?
See report below:
C:\Programme\jEdit> %kill
No process is currently running
cd "C:\Programme\jEdit\doc\myfiles"
C:/Programme/Ghostgum/Gsview/gsview32.exe 'C:\Programme\jEdit\doc\myfiles\pg15 RRZN manual exercise.pdf'
%detach
C:\Programme\jEdit\doc\myfiles> Das System kann den angegebenen Pfad nicht finden.
Process C:/Programme/Ghostgum/Gsview/gsview32.exe exited with code 1
Sparse_Search (sparse_search.zip vV1.0 by Peter Theobald)
Submitted by turtlecove on Saturday, 5 March, 2011 - 11:39
Searches an indented outline and puts the results in a new buffer. The results will have the lines that had the text you searched for along with the parents of those lines for context. Emacs Org-Mode calls this a sparse-tree.

Two versions: one for plain text search and the other for regex search.
Download the two .bsh files and put them in your /jedit/macros folder. Then go to Utilities/Global Options/Shortcuts and set up keyboard shortcuts for sparse_search and sparse_search_regex (such as control-shift-F and control-shift-R).

Console Commandos dynamic CHOICE Element
Submitted by ZIOLele on Saturday, 5 March, 2011 - 15:48
Hello all,
is it possible to populate a choice element in a commando file dynamically? (as in running an external program and using it's output to create the options)

Thanks for your time.
Linux/Fedora installation
Submitted by tosca on Saturday, 12 March, 2011 - 19:48
I'm working on a Linux/Fedora machine.
I'd like to install jEdit in order to use it with the LilyPondTool plugin.
I have downloaded the jEdit installer, but have no idea what to do next.

Thanks for helping.
Increase number of "previously entered strings" in file browser path field
Submitted by jamesd256 on Tuesday, 15 March, 2011 - 13:57
Hi,

Title says it all. Can't find the option in properties or global config.

Many thanks,

James
jEdit stopped working after intall of Internet Explorer 9
Submitted by oscillator on Wednesday, 16 March, 2011 - 15:36
Dear forum,

yesterday I installed IE9 on my Win7Pro computer. Since then jEdit has stopped working.

I have reinstalled JRE and jEdit but no luch. I have also switched IE9 off.

If I paste the content of the jedit.bat file:

start "jEdit startup" "C:\Windows\SysWOW64\javaw.exe" -Xmx192M -jar "C:\Program Files\jEdit\jedit.jar" -reuseview %*

into a command window I don't get any error messages, only a new prompt. No jEdit window.

A "javaw.exe*32" process I started though.

Any ideas?

Staffan
SWEDEN
building my translation model
Submitted by pat4kin on Thursday, 17 March, 2011 - 14:54
Hallo!
I have now finished the first phase of the process of building a model to translate my texts from English into German. The first eBook using it, for phrase translations will be uploaded in the next days.
As I began the process of using jEdit to create the model, I was looking for an editor that would allow me to create a workspace concept.
I would now like to extend the model with a set of exe one-liners to perform certain tasks. For this I would like to use the language AWK or one of its derivatives.
I am using it on my MS-Win-XP-Home system under cygwin. It is useful but the architecture is sub-optimal. Is any work being done on an AWK plugin. I would provide with the work I am doing using scripts written by others.
I would like to hear from decision makers or knowledgable members.
Regards,pat4kin.
Outline_Sort (outline_sort.bsh vV1.01 by Peter Theobald)
Submitted by turtlecove on Tuesday, 22 March, 2011 - 06:19
outline_sort v1.01 peter@TurtleCoveTech.com

Sorts an outline.
Treats the selection or the buffer as an indented outline and sorts based on the leftmost indented "parents", carrying the subtrees with their respective parents.

Skips lines with jEdit auto-settings :setting=value: at the top or bottom of the file.

I keep all of my info in plain text outlines (Org-Mode style) and this allows me to sort my outlines.
Note: I bind this to 'CS+O s' (the two letter code Control-Shift-O s). I plan on writing more Outline macros in the style of Org-Mode and binding them to (refile: CS+O r, sort: CS+O s, capture: CS+O c, SearchToSparseTree: SC+O f, archive: CS+O a, jump: CS+O j, etc)
Handy Tip: hit 'control-e s' to select a tree before sorting to sort just one outline tree instead of the entire buffer.

How do I list all the macros I have uploaded?
Submitted by turtlecove on Tuesday, 22 March, 2011 - 06:39
I cannot find any way to list the macros I have uploaded. Even searching by my username only shows one of them. If I search for each separately I can locate them. Very cumbersome. I must be missing something simple?
jedit search skip specified subdir
Submitted by jenuc on Tuesday, 22 March, 2011 - 16:52
Hello
Is it possible in Jedit to search in a directory and its subdirectories but with the possibility to omit some subdirectories from search path?

BR
Eugen
copy/paste from Excel on MacOSX
Submitted by evaristo2k on Wednesday, 23 March, 2011 - 11:38
When I copy/paste a selection of cells from Excel into Jedit, I get rows incorrectly separated and they appear as concatenated in one line.
Closing and reopening the file, the rows become correctly separated into different lines. It seems a problem related to how Jedit is rendering cells pasted from Excel.

This happens with the latest Jedit release (stable or daily RC) and working on MacOSX only (the same release on Windows behaves correctly).

Which is the problem?

Thanks,
Eva
Allow grouping of buffers like Firefox 4's Tab Groups
Submitted by 6tr6tr on Wednesday, 23 March, 2011 - 20:36
I am frequently working on multiple projects at once and currently the only options for managing those projects' files in jEdit are pretty limited.

Current possibilities:
-----------------------
1. Have all the buffers open at once

This becomes an unmanageable mess.

2. Have multiple view panes (split vertically/horizontally) and have different buffers open in each

This is messy as I need to remember which view pane has which project (some are similar and not immediately obvious), and constantly move their "walls" to show and hide them.

3. Have different setting folders for each project

This is very inefficient as switching between projects requires restarting jEdit from the command line with the project's settings folder.

SUGGESTION
--------------
Instead, it would be incredibly powerful to have project groups just like Firefox's Panorama (Tab Groups). You can put buffers into a group, name the group and then when you switch to that group, it would minimize the previous group's buffers and open the new group's buffers only.

As well, jEdit would enable ctrl-tab to switch between the project groups. When a user presses ctrl-tab, it would popup a visual list (like alt-tab for windows) over the current buffer with all the Project Groups' names so you could easily switch between groups. (And pressing ctrl-tab again moves to the next group just like alt-tab)
shifting a block of text
Submitted by 999alfred on Friday, 25 March, 2011 - 04:48
Is it possible to "shift" a rectangular block of text?
What I mean is I select a rectangle start at say column 20 and running to column 30 and encompasses 20 lines and then I want to move it two tabs right, hit tab twice. Now If I try this my text is deleted. If I 'cut' the text, tab over and paste it puts the first line there, but all the descending lines are placed at the left edge and all the text originally between the text and the left margin is moved below the pasted test.

How do I all of it tab'ed over and not delete my text? Is it possible?

tj
jEdit not working on Max OSX after OSX update
Submitted by lancel on Saturday, 26 March, 2011 - 20:13
I have OSX 10.6.7, the latest, and jEdit 4.4. After updating my OSX yesterday with the lastes update jEdit no longer works. I can't figure it our but it seems that it may not be loading the Mac OSX plugin correctly. When I open a doc in jEdit it simply opens as a blank page. It does not matter what kind of doc I open it is simply blank. Anyone else having the problem?

Thanks
vi editor like features like simlple ESC and /hello to search hello
Submitted by anshumandhuliya on Monday, 28 March, 2011 - 17:13
Hey,
vi being old and daunting at first is cool and much faster than any other editor. But who wants to go to console these days when big programming tools are available.
Searching for a word is one of the most frequent things i do. Specially to track the use of variables. Vi makes it easier than any other editor.

Rather than a big daunting window to FIND one word it is more friendly to pop a box in the bottom like in firefox and just give in a command to do a flexible search. And not only search but many many functions if the features from vi are brought into the box. For hard core programmers it will be a boon. Plugin may be a good option for this one.

Thank You
Change the syntax highlighting language
Submitted by Ayken on Tuesday, 29 March, 2011 - 09:43
Hey All!

How can I set the syntax highlighting language in jEdit?

It sometimes happens that autodetection of language fails, so I would like to explicitly set the language. Is that even possible in jEdit?

Notepad++ has a self-obvious "Language" menu, where I can choose from the list of all supported languages, and set the syntax highlighting to that. Does jEdit have something similar?
copy file names to file
Submitted by poleta33 on Thursday, 31 March, 2011 - 10:20
Hi everybody

I'm trying without success to write a macro that does a simple thing :

copy the file names of the files selected in the browser directory (this could one or more files) into a named file (C:\temp\test.lst)

thanks in advance !
User login
Browse archives
« February 2011 »
MoTuWeThFrSaSu
 
4
6
7
9
10
11
12
13
15
17
19
21
22
25
27
 
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   108250
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