jEdit Community - Resources for users of the jEdit Text Editor
Archives
Cursor positioning problems on Mac OS X
Submitted by terrencebarr on Thursday, 9 October, 2008 - 09:10
jEdit 4.2 and OS X 10.4 worked fine for me for over a year. A couple of weeks ago I switched to OS X 10.5 and a bit later to jEdit 4.3pre13. In the meantime I also updated to Java 6. Since some point (not sure what caused it) I now have trouble with the cursor positioning in jEdit.

Initially, after opening a file in jEdit I can move the cursor and insert and delete text as expected. But within a couple of seconds the cursor position is off - meaning when I insert or delete text it actually occurs one or two characters *to the right* of the cursor position, not directly left of the cursor. This behavior continues until I close the file and reopen it, upon it will work correctly for a few seconds, then misbehave again.

Strange thing is that switching between jEdit 4.2 and 4.3pre15 doesn't help - the problem now appears in both versions. Also, switching between Java 5 and Java 6 doesn't help, either (Info.plist). So right now I can't find any way to fix the cursor behavior - which is driving me nuts.

Any ideas?

Thanks,

-- Terrence
jedit pre10 stopped wotking?
Submitted by brendanjeffrey on Thursday, 9 October, 2008 - 18:36
I have been using jeditpre10 for about a year now, within last 2 days it has stopped working all together. Using a Mac, OSX intel. Upon trying to open document the icon bounces once in mac dock then disapears, failing to open application. I tried repairing my permissions in disk utility for Mac, this is the extent of my knowledge however. Has anyone experienced this problem? Please help.

Thanks
Creating EXE for file association
Submitted by proee on Friday, 10 October, 2008 - 22:19
Hello,

My computer need a cold reinstall of windows yesterday so I've been downloading all my favorite programs again. I've installed the latest version of jEdit but don't see an exe to associate files with windows. I read this died back in version 4.2

Bottom line, I have some programs that rely on passing their file to the exe so I can open it in jedit.

The biggest emergency I have it to find a way to associate this firefox plugin https://addons.mozilla.org/en-US/firefox/addon/4125 to jedit. It's used to edit html textboxes with your favorite editor.

Any help here is very much apprehiated.....
jEdit as a translation editor
Submitted by forkinpm on Saturday, 11 October, 2008 - 10:19
Hallo!
I am not a programmer but a writer, who writes in English and translates into German.
I am preparing a piece of documentation describing the use of jEdit as a carrier for a translation tool.
Initially it will be from an English source into German as a single target.
French, Italian and Spanish should be added as future target languages.
The jEdit editor has, I feel certainly the functionality, with its set of plugins to make a very useful translation base.
To whom can I address this request and introduce the dialog?
To whom can I send the document when it is ready?
An inital version, as a simple text document, will be ready by mid next week.
A version, as a HTML document, will be ready at worst two weeks later.
I could provide the necessary user and marketing documentation.
I hope that there is interest in such a project.
Regards, forkinpm.
Using split screen for two separate files
Submitted by forkinpm on Saturday, 11 October, 2008 - 10:24
Hallo!
I am new to your great editor and would like to be able to use the editor split pane capability to open one file and create a second from a translatiion of the first.
Is this possible?
I hope so, but I can see how to?
I would also like to be able to use jEdit in a reduced size window, but cannot seem to see how to.
Please help me.
Thank you and regards, forkinpm.
Using JEdit on UNIX system (Solaris P)
Submitted by rlanier on Tuesday, 14 October, 2008 - 15:40
I've used jedit for a while now, and I've noticed something peculiar: if I start instance #2 of jedit, the files that are open in instance #1 show up in instance #2 window, and vice versa. For example, if I start jedit like this:

jedit file1.txt (terminal window #1)
jedit file2.txt (terminal window #2)

I will get two instances of jedit running, but I will see both file1.txt and file2.txt in BOTH instances of jedit!

Why is this and how can I prevent this happening?
ExtJS support
Submitted by mirws on Wednesday, 15 October, 2008 - 00:36
Heyy..
I'm sure that ExtJS support would be great plugin...
I'll wait for the response Smiling
Wait for buffer reload
Submitted by takeshin on Friday, 17 October, 2008 - 11:06
When i run:
buffer.reload(view);
buffer.save(view, null); // or other I/O

I get: I/O Error
Each buffer can execute only one I/O operation at one time.

How to wait until buffer reloads?
I can't modify textArea until it completes to reload.

I suppose I have to use BufferAdapter and bufferLoaded method. But how to do it?

--
regards,
takeshin
Why no clean urls?
Submitted by RProgrammer on Wednesday, 22 October, 2008 - 02:14
I'm just curious, why doesn't this site use Drupal 'Clean URLs'?

http://drupal.org/node/15365
How to clear only invalid entries in Recent Files
Submitted by tvojeho on Wednesday, 22 October, 2008 - 18:26
Hi all,

I was wondering if there was a way for a macro to go through the items in Recent files list and delete invalid entries, leaving the rest. My Java know-how is not very extensive, and after some googling and searching the default macros code, I have put together a few lines of code which luckily do not throw an exception, but unfortunately do not apply the desired changes to Recent Files menu.

I would be grateful for any help.

  Cheers, tvojeho.

  

BufferHistory.Entry[] recentBuffersArray = BufferHistory.getHistory().toArray(new BufferHistory.Entry[0]); // get history

for(i=0;i {

recentPath = recentBuffersArray[i].path;

if( ! new File(recentPath).exists())

{

BufferHistory.Entry removeEntry(recentPath);

}

}

return;

shortcut: toggle fold
Submitted by homeathouse on Thursday, 23 October, 2008 - 13:20
i am looking for a "toggle fold" shortcut setting--a shortcut to do the same thing as clicking the fold markers in the margin (left of the line numbers).

http://community.jedit.org/?q=node/view/3446

thanks
shortcuts: differentiating between keys: left/right ALT key, left/right CTRL key and the left/right WIN key
Submitted by homeathouse on Friday, 24 October, 2008 - 00:32
jEdit does not distinguish between the two plus signs on a keyboard.

When I set a shortcut from Utilities> Global Options> Shortcuts, jEdit doesn't want to distinguish between the two plus signs on a keyboard. It sees typing plus sign ("+") using the number pad and a plus sign typing shift with the equals sign ("=") as typing the same key.

This also holds true for the left/right ALT key, left/right CTRL key and the left/right WIN key.

jEdit needs to distinguish between the keys so I can set a shortcut using the number pad plus sign while also leaving the plus sign (next to the backspace on the keyboard) not set to a shortcut.

AutoIt (Windows automation language) distinguishes between the following keys when setting a hotkey or sending text (using HotKeySet() and Send(), respectively):

Plus ("+") keys: {+}, {NUMPADADD}
ALT keys: {LALT}, {RALT}
CTRL keys: {LCTRL}, {RCTRL}
WIN keys: {LWIN}, {RWIN}

Here are the Send Commands and the Resulting Keypress
http://www.autoitscript.com/autoit3/docs/functions/Send.htm


Example using AutoItScript:

HotKeySet('{+}', 'ShowMessageOne')
HotKeySet('{NUMPADADD}', 'ShowMessageTwo')

Func ShowMessageOne()
MsgBox(4096,'','You pressed the plus sign next using SHIFT + PLUS SIGN!')
EndFunc
Func ShowMessageTwo()
MsgBox(4096,'','You pressed the plus sign next using the number pad!')
EndFunc
While 1
Sleep(10)
WEnd

^In the above AutoItScript script, it differentiates between the two plus sign keys.

thanks
Help! I've lost the File Open and Save As dialogs
Submitted by Lummo on Sunday, 26 October, 2008 - 14:46
When I try File | Open or Save As operations jEdit apparently writes up the dialog because I hear disk activity and see Input/Output complete in the status bar. The dialog is no where to be seen. Any other menu operations are met with a beep which normally indicates a modal dialog is expecting input. gets rid of it and I can then use other menu options. I'm using jEdit 4.3pre10 with java 1.6.0_03. Things went wrong when I was trying to open a file and got bored waiting for the dialog to appear (network share). I am using Microsoft Virual Desk Manager (MSVDM) and switched to another desktop to start up some music. While I was on the other desktop the File Open dialog appeared and then disappeared. Now I can't get the File Open dialog on any desktop. I've rebooted and reinstalled jEdit but it hasn't made any difference. I'm guessing that some config file in jEdit has got confused and isn't loading the dialog in the right place in the display. Does any one know if this might be so and, if so, how I can reset it? Thanks for any suggestions. with regards, Lummo
PHP Documentation: how to add it in jEdit?
Submitted by Tomas Cerkauskas on Monday, 27 October, 2008 - 10:23
How can I do that?
Favorite custom name
Submitted by nublaii on Monday, 27 October, 2008 - 11:32
I have been looking around and this is the only thing I found, dated back on 2006, about my problem.

http://community.jedit.org/?q=node/view/3239

In short, favorites can become very ugly: it always shows protocol://username@host+path

If you start saving favorites with long paths and ips the list can become almost illegible really fast.

Is there a way of customizing the name? on the favorites list?
Closing Buffers
Submitted by floomby on Monday, 27 October, 2008 - 19:34
Hi...
I am new to jEdit but I can't seem to work out how to close Buffers properly in jEdit. (i'm using jedit 4.13pre15 and java 1.6u10)
Ok. I am working on 3 buffers and I close jedit. When i reopen, the last buffer i was working with does not reappear as the current buffer or in the list but one of the other two buffers appears. If i try to close this file using Close or Close (global) it will not close.

If I am working with only one buffer and I close jedit, when i repopen jedit, it has the buffer that I was working with but I cannot close it.

Thanks for the help
disable undo temporary
Submitted by takeshin on Wednesday, 29 October, 2008 - 14:04
Hi!

I have a macro which updates comments at the beginning of the buffer.
Then, when I edit the file and press Ctrl+Z, cursor goes to the beginning of file,
where macro operated.

How to disable undo temporary, so commands executed in macro were not registered in history?

--
takeshin
How To Install Plugin on a Mac
Submitted by cpsmusic on Thursday, 30 October, 2008 - 04:28
I have a couple of questions related to plugins.

Firstly, I'd like to install the latest version of JDiffPlugin (2.1.0) on a Mac (OS 10.4). Why doesn't this version of JDiffPlugin appear in the plugin repository? All I can see is 1.4.2.

Secondly, I've downloaded the binary version of the JDiffPlugin. However I can't find the .jar file. All I can see is a whole lot of .class files and some other bits and pieces. I thought I needed a .jar file.

How do I install this plugin?

Cheers,

Chris
Create a new windows that receive external information
Submitted by LeGerfo on Thursday, 30 October, 2008 - 12:13
Hello,

I would like to join all JEDIT to my program.
I would like to add a special window which receive information from my class, in fact I need this:

1/ My Program lauch JEDIT
2/ I write in JEDIT in a normal text window (code)
3/ I read this code from JEDIT (even I don't save file)
4/ I send information in text to JEDIT in a special window

For each case (1,2,3,4) in which class I need to modify for realize that I want ?

Thanks

Greg
Class interface for user
Submitted by LeGerfo on Thursday, 30 October, 2008 - 12:48
Hello,

I would like to use source files JEDIT and use buffertext and another things, why you don't add a class user interface empty for user who want to add sources for him ?

Thanks

Greg
User login
Browse archives
« October 2008 »
MoTuWeThFrSaSu
 
1
2
3
4
5
6
7
8
11
12
13
16
18
19
20
21
25
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   82348
Context Free Art (*.cfdg)   0.31   46055
JBuilder scheme   .001   18495
BBEdit scheme   1.0   18116
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