Ensuring a single instance
Submitted by
takisd on
Saturday, 4 September, 2004 - 04:36
Hi
i just upgraded to 4.2 and have noticed that opening a file opens a new jedit instance. this never occurred in 4.1 - or i set something for it to keep the same window. either way, i can't figure out how to get it to use one instance only. the second window always has the same list of documents opened previously and adds the new one. i open docs mainly from the nautilus browser with the open with popup command on a file.
i only noticed this since 4.2.
i'm using debian unstable. i installed jedit using the java installer.
any suggestions on how to stop this behaviour would be greatly appreciated.
Thanks
Takis
[bug]Comments not shown in other downloads (..?q=filestore/...)
Submitted by
venimus on
Saturday, 4 September, 2004 - 05:40
"# comments/view comments" and "Read more" are not displayed at filestore section. I noticed this in Edit Modes section when it is called from Other Downloads. They appear if one clicks on "Edit Modes" link near the title of a posted issue. That link open the site with ?q=taxonomy/.. (rather than ?q=filestore/..) where everything works ok.
As far as i can remember, all worked ok in the beginning of the year.
No second password dialog after login error
Submitted by Anonymous on Sunday, 5 September, 2004 - 09:43
Hi
It's more about usability but it's important.
If you select an FTP path from you favorites or from the history, there will apear a dialog box where you can enter your password. If the entered password is wrong you get a stupid error message, and the FileBrowser shows the path into an empty directory... If you like to try it again, you can't use the history/favorites anymore, you have to select FTP->Connect and enter de Servername Username and Password. After that you can use your favorites entry again...
If there is a Login'Exception' the FTP Plugin should reset the FileBrowser-Path to the last directory and kill the FTP Object (or what the hell you exactly use), this way if I select the history entry again, I get the Passwortdialog pressented agian..
greats Jonas
Projectviewer
Submitted by Anonymous on Sunday, 5 September, 2004 - 13:08
I have the projectviewer plugin installed with jedit 4.2final, but now projectview seems to exist.
What do I have to do to get the projectview?
Thank you
Mat
How to activate the line or marking of the block of code within { ... } ?
Submitted by Anonymous on Sunday, 5 September, 2004 - 14:09
I have seen in some of the 'screenshots' in that the code enclosed in { } is marked by a vertical line drawing from '{' to '}'. I have searched in the global options but couldnt find a way to activate it.
Thanx in advance for your advice
No synchronized scrolling ??? why ?
Submitted by
Rockem on
Sunday, 5 September, 2004 - 17:10
Why on earth did you left it outside ?
use special keys for macro execution
Submitted by
bjoern_jedit on
Monday, 6 September, 2004 - 14:00
Hi, it might sound a little crazy (although I have
serious applications in mind) but I need to
get jedit to make a backslash when typing
the following two keys at the same time:
Left-Windows-special-key german-umlaut
I managed to get a backslash when typing
A+n for example. However the windows special
key seems not do work for that nor do the
german special keys.
I would really appreciate any suggestions !
RegEx: look-behind-Assertions are buggy
Submitted by Anonymous on Tuesday, 7 September, 2004 - 00:49
When i search the word "foobar" for
foo(?=bar)
jEdit delivers "foo" as a result, which is right.
However, when I search for (?<=foo)bar, i get the following error Message, although i'm pretty sure my RegEx is OK so far.
gnu.regexp.REException: At position 1 in regular expression pattern:
quantifier (?*+{}) without preceding token
at gnu.regexp.RE.initialize(RE.java:509)
at gnu.regexp.RE.(RE.java:269)
at gnu.regexp.RE.(RE.java:254)
at org.gjt.sp.jedit.search.RESearchMatcher.(RESearchMatcher.java:57)
at org.gjt.sp.jedit.search.SearchAndReplace.getSearchMatcher(SearchAndReplace.java:293)
at org.gjt.sp.jedit.search.SearchAndReplace.find(SearchAndReplace.java:446)
at org.gjt.sp.jedit.search.SearchDialog.ok(SearchDialog.java:199)
at org.gjt.sp.jedit.search.SearchDialog$ButtonActionHandler.actionPerformed(SearchDialog.java:936)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
why do the docks always open?
Submitted by Anonymous on Tuesday, 7 September, 2004 - 02:03
i have a shortcut key (f4) set to run an AntHelper task. i also have AntFarm docked on the left and Console and ErrorList docked on the bottom. if i have all docked windows closed and push the f4, the AntFarm and Console popup open.
is there some way to suppress this?
There is abolutely no reason for the left dock to open. I have to close it everytime at the cost of extra mouse work. And I would actually only like to see ErrorList if there are errors. Otherwise, nothing should come up in the bottom dock either. (However, if the Console must open, i can live with that, probably.)
Thanks for any and all help!!!
XSearch options in 4.2final don't appear in search box
Submitted by
Andre on
Wednesday, 8 September, 2004 - 06:57
The additional check boxes (e.g. word part search) don't appear in the search box despite all options being selected in the Options:Plugin:XSearch box. The search box is the standard one, working fine but without the extensions.
My system: jEdit 4.2final, Win XP pro, JRE standard edition 1.4.2_03
Thanks for help.
Note: jEdit and the plugins are great tools and a pleasure to use. Thanks.
Andre
How to associate files with jEdit ?
Submitted by
lasterix on
Wednesday, 8 September, 2004 - 08:09
Hi,
I 'd like to know how to associate ".txt" or others, files with jEdit (I want to open the file with jEdit when I double clic on it).
Thanks.
How should I view java applets
Submitted by Anonymous on Wednesday, 8 September, 2004 - 11:20
This is probably dead easy but, is there a simple way to view java applets from within jEdit? At the moment I leave jEdit open a Command Prompt window and use appletviewer or I run the html document.
Comando file for Intel fortran compiler
Submitted by Anonymous on Wednesday, 8 September, 2004 - 12:25
Hi, the comando file for intel fortran compiler ifort would be nice thing to have!!
CompleteWord.InsertSelected could check the value of IgnoreCase
Submitted by
dvht on
Wednesday, 8 September, 2004 - 15:30
When I type "proc" and then press C+b in PL-SQL editmode, it gets completed with "EDURE", forming the (correct) keyword "procEDURE". I know, I could type "PROC" and it would be "PROCEDURE" and if I wanted "procedure", I could change PL-SQL.xml accordingly. But why not check for the last letter typed, and add an uppercase version or an lowercase version of the substring.
Personally, I wouldn't replace the whole word with the text case used in the xml, because that would look like "parsing" (ask VB developers, they use this all the time) and then the case should also be changed for completely typed words.
Dirk
Superscript plugin - I don't get it
Submitted by
PauloSargaco on
Wednesday, 8 September, 2004 - 15:33
Hi there.
I installed superscript and downloaded js.jar from Mozilla's Rhino. I then copied js.jar to {jedit.home}/jars and restarted jEdit. I also changed the superscript optins so that js is recognized as a macro extension. When I use superscript it seems that nothing useful happens. For instance, if I use the text box in the superscript docking window, when I type 2 +2, what I get in the results window is just an echo of what was typed:
-> 2 + 2
same thing with every instruction like parseInt("qwq123").
I also tried opening a js script with jEdit and using the Execute Script button. Nothing happens.
I must be missing something really obvious.
Expand the Span
Submitted by
RaeVanMorlock on
Wednesday, 8 September, 2004 - 16:53
I just found out about jEdit last night and I like it more than my previous editor; however, it's HTML syntax highlighting is lacking. So I endeavored to improve upon it. I got lists of all the elements and tags according to the HTML 4.01 specs and entered them as keywords, but problems occur distinguishing the two. For instance, "style" can be both a tag and an element.
I decided that the best approach would be to use regexp to highlight things according to their positions within a tag.
Element -- </({0,1}\w+?)
Attribute -- <\w+?(\s+?(\w+)=".+?")*>
[Note: I'm not sure that the question marks should be there, I just read in the Help Docs that "if a repeating operator is immediately followed by a ?, the repeating operator will stop at the smallest number of repetitions that can complete the rest of the match" so I hope I'm understanding that correctly.]
So the problem currently is that this doesn't really work for two reasons.
1) The SPAN_REGEXPs are set to highlight everything that matches them, but we need to specify stuff that needs to come before and after the attribute in order to be sure that we have an attribute. A solution could be to only highlight what is matched by the innermost parentheses when they exist. An option to toggle this behavior may also be needed in case someone needs to specify a repeating pattern but still highlight the entire regex.
2) Using regex under the main rules will include searching of things outside of the HTML tags. By making a ruleset to apply only to things inside HTML tags, you can get better results. But then, the 'greater than' and 'less than' signs cannot be used in the matching. So what I'm trying to suggest here is that the BEGIN and END sequences are included.
For a simple demonstration of what I'm trying to say, Consider this abbreivated mode file:
<SPAN TYPE="MARKUP" DELEGATE="TAGS">
<BEGIN><</BEGIN>
<END>></END>
</SPAN>
<RULES SET="TAGS" DEFAULT="MARKUP" ESCAPE="\">
<KEYWORDS>
<KEYWORD1>xxx</KEYWORD1>
</KEYWORDS>
</RULES>
And this source code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
</html>
Now if xxx were replaced with "<html" to ensure that only the HTML tag (and not the instance of "html" within the !DOCTYPE tag) is highlighted--it wouldn't work because in ignores the BEGIN and END marks. Of course, if this did work properly then the < sign would also be highlighted, which is not the enteded behavior. That's why this is just a simplified example of the behavior that I'm talking about and why using regex and highlighting the inner-most parenthesis would be a better way to handle this.
So with the way it currently behaves, you would have to replace xxx with "html" to see any type of result. In this case, the instance of "html" within the !DOCTYPE tag is also highlighted. This may not seem like terribly bad behavior, but it is when applied to "style" because you can have:
<STYLE type="text/css">
H1{ font-size: 10pt; }
</STYLE>
and:
<span style="font-size: 10pt">
Which clearly shows that "style" can be both a tag and an element, but it will have the same format applied regardless.
I hope I explained everything clearly here. I'll try to check back frequently to answer any questions.
Jedit strangely slow
Submitted by Anonymous on Wednesday, 8 September, 2004 - 18:27
I’ve been using Jedit for several years now on a number of different machines. I recently installed Jedit 4.2 final on a PIII 1.2ghz 512meg RAM notebook. I am having severe performance issues for some reason. For example, if I hit carriage return, I get a full 1 second pause before that action takes place on jedit. Similarly, I get a full 1 second pause when scrolling in the buffer (a full 1 second pause between each step in the scroll). Each time, my javaw process spikes the CPU to 100%. It spikes for even only 1 single carriage return in a new file with no other files open in the other tabs. Even the menus are slow I've uninstalled all extra plugins, so I don't think any of those were the culprit.
I have tried this with Java 1.4.2_05 as well as J2SE 5.0rc. I have tried this with Jedit 4.2final, as well as 4.2pre15 and 4.2pre14, with the same problem.
Does anyone have any suggestions? I use Jedit 4.2pre11 all the time on my notebook at home, which is a 1.4ghz mobile P4 with 512 … without _any_ problem. I simply can’t figure out what is happening. Any help would be much appreciated. Using something other than Jedit really isn't an option for me -- I've used it for so long and found it fits my needs perfectly! NOthing else even compares. I hope I can get it working on the machine here at work.
Function notification?
Submitted by Anonymous on Thursday, 9 September, 2004 - 03:06
Im looking to see if there is a plugin, or feature that will tell me what Functions are in the file i have open as well as tell me which function im currently in.
Example text:
function Something()
{
# when typing in here it would tell me im in Something.
}
And then i would imagine there being some sort of drop down list that i can see the functions in the file, and be able to select one and be taken to the first line of that function.
Thanks for your help in advance!
Using maven to build jEdit
Submitted by Anonymous on Thursday, 9 September, 2004 - 07:13
Hi,
I think moving the build system over to maven will make a lot of difference.
jEditInstaller can't find JRE on WinXP?
Submitted by Anonymous on Thursday, 9 September, 2004 - 13:44
Trying to install using jEdit42Install.exe on WinXP. When I click the executable, I get the following message:
Setup unable to find a Java Development Kit or Java Runtime 1.3, or higher, installed. You must have installed at least JDK or JRE, 1.3 or higher to continue setup. Please install one from http://java.sun.com and restart setup.
I do indeed have JRE 1.3 installed on this system. In fact, when I install using the jEdit42Install.jar, I can use jEdit just fine. How do I trick the installer into recognizing that I have 1.3 installed?
Alternately, if anyone can tell me how to create a windows batch file that accepts command line options (e.g., jedit.bat -e file.txt), I'll be just as happy. Thanks!