Vista 64bit - JREs installed - installer cannot find them
Submitted by
daniellord on
Tuesday, 7 April, 2009 - 22:39
JREs 1.5 and 1.6u13 ae installed but the Windows installer cannot find them. Worse, it doesn't allow me to locate them for it, it just quits. Java installer complains about a folder permissions problem but never names to folder so I cannot debug it. Shame, I've used Jedit for years under Win 2000 and Win XP Pro, but this appears to be the end of it.
Display Garbled When Using Sidekick
Submitted by
proee on
Thursday, 9 April, 2009 - 18:24
I've experience "display garble" for a number of years when using the sidekick plugin, it's finally to the point where I can't stand it any more - I hope there is a fix!
The problem occurs when sidekick is active and I click to save the buffer after editing some text. The document saves, but the screen then shows the characters around the cursor out of order. It appears the parser is confused somehow.
My current solution is to simply drag the divider between buffer to force the screen to redraw. This refreshes the buffer and the text is back to normal.
Has anyone else experience this issue? Any workaround?
Complete Word doesn't work with a language where variables can contains dots
Submitted by
marce on
Thursday, 9 April, 2009 - 19:02
Hi there,
I'm using jEdit 4.3.pre16 with java 1.5.0.13.
My problem is the language I configure in jedit named Infobasic supports dots in variables, for example: Y.TOTAL.CREDITS is a variable name.
I have configured all the syntax highlight, some other compiling routines, etc. But when I configure the extra characters to consider a word there is a problem ( "_." -> this are the extra characters I define), when I press Ctrl+B to see the code completion, there is an error on jEdit, you can see the exception given:
02:01:58 PM [AWT-EventQueue-0] [debug] CompleteWord: $ . (this is a debug message i put in CompleteWord.java)
02:01:58 PM [AWT-EventQueue-0] [debug] CompleteWord: _\\.$ . (this is a debug message i put in CompleteWord.java)
02:01:58 PM [AWT-EventQueue-0] [debug] CompleteWord: Z.RESULT (this is a debug message i put in CompleteWord.java)
02:01:58 PM [AWT-EventQueue-0] [debug] CompleteWord: (this is a debug message i put in CompleteWord.java)
02:01:58 PM [AWT-EventQueue-0] [debug] CompleteWord: array completions [ ] (this is a debug message i put in CompleteWord.java)
02:01:58 PM [AWT-EventQueue-0] [error] BeanShellAction: java.lang.StringIndexOutOfBoundsException: String index out of range: -8
02:01:58 PM [AWT-EventQueue-0] [error] BeanShellAction: at java.lang.String.substring(String.java:1768)
02:01:58 PM [AWT-EventQueue-0] [error] BeanShellAction: at java.lang.String.substring(String.java:1735)
02:01:58 PM [AWT-EventQueue-0] [error] BeanShellAction: at org.gjt.sp.jedit.gui.CompleteWord.completeWord(CompleteWord.java:103)
02:01:58 PM [AWT-EventQueue-0] [error] BeanShellAction: at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
02:01:58 PM [AWT-EventQueue-0] [error] BeanShellAction: at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
02:01:58 PM [AWT-EventQueue-0] [error] BeanShellAction: at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
02:01:58 PM [AWT-EventQueue-0] [error] BeanShellAction: at java.lang.reflect.Method.invoke(Method.java:585)
02:01:58 PM [AWT-EventQueue-0] [error] BeanShellAction: at org.gjt.sp.jedit.bsh.Reflect.invokeMethod(Reflect.java:134)
02:01:58 PM [AWT-EventQueue-0] [error] BeanShellAction: at org.gjt.sp.jedit.bsh.Reflect.invokeStaticMethod(Reflect.java:98)
02:01:58 PM [AWT-EventQueue-0] [error] BeanShellAction: at org.gjt.sp.jedit.bsh.Name.invokeMethod(Name.java:871)
02:01:58 PM [AWT-EventQueue-0] [error] BeanShellAction: at org.gjt.sp.jedit.bsh.BSHMethodInvocation.eval(BSHMethodInvocation.java:75)
02:01:58 PM [AWT-EventQueue-0] [error] BeanShellAction: at org.gjt.sp.jedit.bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:102)
02:01:58 PM [AWT-EventQueue-0] [error] BeanShellAction: at org.gjt.sp.jedit.bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:47)
02:01:58 PM [AWT-EventQueue-0] [error] BeanShellAction: at org.gjt.sp.jedit.bsh.BSHBlock.evalBlock(BSHBlock.java:130)
02:01:58 PM [AWT-EventQueue-0] [error] BeanShellAction: at org.gjt.sp.jedit.bsh.BSHBlock.eval(BSHBlock.java:80)
02:01:58 PM [AWT-EventQueue-0] [error] BeanShellAction: at org.gjt.sp.jedit.bsh.BshMethod.invokeImpl(BshMethod.java:362)
02:01:58 PM [AWT-EventQueue-0] [error] BeanShellAction: at org.gjt.sp.jedit.bsh.BshMethod.invoke(BshMethod.java:258)
02:01:58 PM [AWT-EventQueue-0] [error] BeanShellAction: at org.gjt.sp.jedit.bsh.BshMethod.invoke(BshMethod.java:186)
02:01:58 PM [AWT-EventQueue-0] [error] BeanShellAction: at org.gjt.sp.jedit.BeanShellFacade.runCachedBlock(BeanShellFacade.java:225)
02:01:58 PM [AWT-EventQueue-0] [error] BeanShellAction: at org.gjt.sp.jedit.BeanShell.runCachedBlock(BeanShell.java:441)
02:01:58 PM [AWT-EventQueue-0] [error] BeanShellAction: at org.gjt.sp.jedit.BeanShellAction.invoke(BeanShellAction.java:73)
02:01:58 PM [AWT-EventQueue-0] [error] BeanShellAction: at org.gjt.sp.jedit.gui.InputHandler.invokeAction(InputHandler.java:352)
02:01:58 PM [AWT-EventQueue-0] [error] BeanShellAction: at org.gjt.sp.jedit.gui.InputHandler.invokeAction(InputHandler.java:317)
02:01:58 PM [AWT-EventQueue-0] [error] BeanShellAction: at org.gjt.sp.jedit.gui.DefaultInputHandler.handleKey(DefaultInputHandler.java:197)
02:01:58 PM [AWT-EventQueue-0] [error] BeanShellAction: at org.gjt.sp.jedit.input.AbstractInputHandler.processKeyEventKeyStrokeHandling(AbstractInputHandler.java:405)
02:01:58 PM [AWT-EventQueue-0] [error] BeanShellAction: at org.gjt.sp.jedit.gui.InputHandler.processKeyEvent(InputHandler.java:151)
02:01:58 PM [AWT-EventQueue-0] [error] BeanShellAction: at org.gjt.sp.jedit.textarea.TextArea.processKeyEvent(TextArea.java:4545)
02:01:58 PM [AWT-EventQueue-0] [error] BeanShellAction: at java.awt.Component.processEvent(Component.java:5294)
02:01:58 PM [AWT-EventQueue-0] [error] BeanShellAction: at java.awt.Container.processEvent(Container.java:1966)
02:01:58 PM [AWT-EventQueue-0] [error] BeanShellAction: at java.awt.Component.dispatchEventImpl(Component.java:3984)
02:01:58 PM [AWT-EventQueue-0] [error] BeanShellAction: at java.awt.Container.dispatchEventImpl(Container.java:2024)
02:01:58 PM [AWT-EventQueue-0] [error] BeanShellAction: at java.awt.Component.dispatchEvent(Component.java:3819)
02:01:58 PM [AWT-EventQueue-0] [error] BeanShellAction: at java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1826)
02:01:58 PM [AWT-EventQueue-0] [error] BeanShellAction: at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:681)
02:01:58 PM [AWT-EventQueue-0] [error] BeanShellAction: at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:938)
02:01:58 PM [AWT-EventQueue-0] [error] BeanShellAction: at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:810)
02:01:58 PM [AWT-EventQueue-0] [error] BeanShellAction: at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:645)
02:01:58 PM [AWT-EventQueue-0] [error] BeanShellAction: at java.awt.Component.dispatchEventImpl(Component.java:3857)
02:01:58 PM [AWT-EventQueue-0] [error] BeanShellAction: at java.awt.Container.dispatchEventImpl(Container.java:2024)
02:01:58 PM [AWT-EventQueue-0] [error] BeanShellAction: at java.awt.Window.dispatchEventImpl(Window.java:1791)
02:01:58 PM [AWT-EventQueue-0] [error] BeanShellAction: at java.awt.Component.dispatchEvent(Component.java:3819)
02:01:58 PM [AWT-EventQueue-0] [error] BeanShellAction: at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
02:01:58 PM [AWT-EventQueue-0] [error] BeanShellAction: at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
02:01:58 PM [AWT-EventQueue-0] [error] BeanShellAction: at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
02:01:58 PM [AWT-EventQueue-0] [error] BeanShellAction: at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
02:01:58 PM [AWT-EventQueue-0] [error] BeanShellAction: at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
02:01:58 PM [AWT-EventQueue-0] [error] BeanShellAction: at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
02:02:00 PM [AWT-EventQueue-0] [debug] EditBus: DynamicMenuChanged[menu=recent-files,source=null]
Slow paints
Submitted by
JMNorris on
Friday, 10 April, 2009 - 16:18
I have a new computer and my new installation of jEdit has SLOW window paints/refreshes. My old computer did not have this problem. Refreshes (on opening a new file, scrolling, etc.) snap up with my old installation.
The problem does not occur with at least some other Java apps (eg., Eclipse, SmartSVN) suggesting (but of course not proving) that the problem is not with the JRE. The difference between the two computers does seem to show up with ArgoUML, but I haven't used it enough to know that for sure.
The old compter is a Lenovo T61, the new a Lenovo T400. Both computers are Windows XP, all service packs and other Windows update fixes installed.
Both jEdit installations are v. 4.3pre16. I just upgraded the new computer JRE from 1.6.0, update 11 to update 12. IIRC, the old computer is at update 11.
I tried copying both by ApplicatonData/.jEdit (or, in Micrsoft lingo, ApplicatonData\.jedit) and my Pogram Files/jEdit directories from the old computer to the new computer. It didn't help.
My current Utilities->Global Options->Text Area options include:
Electric (auto scroll) borders [whatever that is]: Off.
Anti Aliased smooth text: none.
Fractional font metrics (for better smooth text display): Off.
At some point, the slowness problem mysteriously (apparently not in response to a settings change) disappeared. However, the slowness reappeared on my next reboot. (I usually try to avoid reboots, preferring stanbys and hibernates. However, this preference is ofeten foiled by the fact that it is Windows.) Could this perhaps suggest that the some setting (fractional font metrics, perhaps) is often ignored???
Any ideas would be greatly appreciated.
Block comment dynamic expand
Submitted by
alexandrei on
Tuesday, 14 April, 2009 - 08:27
Hello,
I am curious if there is a plugin/macro that can do the following thing:
- I manually open a block comment (c/c++, etc), with "/*" or "/**"
- I press enter, and a new * is added at the start of the line, aligned with the previous * (1 line indent)
- the above repeats, until I enter the ending "/"
I've seen this behaviour in vi/vim, and I really like it! This is the only thing that I could not find in jEdit (yet). Otherwise, it's my perfect editor
Thank you!
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
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
Untitled Buffers
Submitted by
jakbal on
Thursday, 16 April, 2009 - 15:26
Hey All -
In my work, I spend a lot of time reading log files. As I read log files, I copy out snippets of information and paste them into tabs within a text editor, formerly UltraEdit. I'm trying to make the switch to jEdit - but I'm running into a really weird issue that I don't seem to get around.
The issue is that I want to have multiple unsaved buffers open at a time. These snippets of information that I paste into the text editor are nothing that I wish to save. In UltraEdit I can open up as many unsaved buffers as I want ... but in jEdit I only seem to be able to open up a single unsaved buffer.
Lets say I have jEdit open with a single buffer, reading a clean (no changes) text file. I hit CTRL-N and a new buffer opens "Untitled-1" - no problems. I hit CTRL-N again to open up a second unsaved buffer - nothing happens! There is no "Untitled-2" ...
Does this have something to do with my configuration of jEdit? Is this a limitation of jEdit? I've done a fair amount of searching and I haven't been able to find anyone else reporting this or discussing it. If it is a limiation, I will probably find myself gravitating back towards UltraEdit, I fear (which I would really like to avoid).
Any ideas?
Markers and marker browser
Submitted by
gryf on
Friday, 17 April, 2009 - 17:44
Hi.
In jEdit there is usefull feature called markers (and there is also menu for that) however there is something missing about it. There is no way to agregate all markers in one place like in Hypersearch window (or maybe i cannot find it). After some investigations, I found two things:
1. Plugin Markers Sets (http://plugins.jedit.org/plugins/?MarkerSets)
This is almost what I want, howerver it have two blockers: It have nothing to do with jEdit markers - it provide it own, and it doesn't work with jEdit 4.2 final which I use for "production" as a stable as a rock platform.
Is there any other plugin which can utilize markers information? It'll be perfect if it automaticly scan for marker in entire ProjectViewer project root directory.
2. Macro listMarkers.bsh (http://community.jedit.org/?q=node/view/1057) which uses jEdit markers, but it cannot be docked in way that plugins windows can. Also it list only markers from current buffer.
Is there a way to dock window created by a macro?
And finally - what informations are stored on *.mark file? I can see something like:
!.;289;289
Where dot after exclamation mark is actually null (0x00)
Thanks in advance for any comment.
Tag List and Tag Preview Problem
Submitted by
gsawyer9 on
Friday, 17 April, 2009 - 21:04
I'm trying to use the CtagsInterface plugin Tag List and Tag Preview features. Whenever I invoke either of them, the following error message is generated:
Sourced file: inline evaluation of: `` new dockables.TagList(view); ;'' : Constructor error: Can't find constructor: dockables.TagList( org.gjt.sp.jedit.View ) in class: dockables.TagList : at Line: 2 : in file: inline evaluation of: `` new dockables.TagList(view); ;'' : new dockables .TagList ( view )
I suspect that I've made a mistake in installation or configuration, but I've tried re-installing jEdit and the plugin. Does anyone know what I'm doing wrong?
TIA,
Gary.
smaller toolbar icons?
Submitted by
eldereko on
Monday, 20 April, 2009 - 15:50
with 4.2 you could override the toolbar icons, but with 4.3 themes you can only choose from classic or tango... both of which are huge icons compared to almost every other app. is there a way to either override the icons as in 4.2 or switch to a smaller version of the theme, i see there are smaller versions in the jedit jar.
ErrorList: Sorted as in Console window + clickable?
Submitted by
Axel on
Monday, 20 April, 2009 - 18:05
Is there a way to get ErrorList behave like this:
1.) Having errors listed in the same order as shown in the Console window
(because this order has a meaning)
_together with_
2.) "Clicking on an error will open the file containing the error and move the
caret to its location"
I can get working only one of these at a time.
--- Details below ---
Errormessages (of Ruby) look like this, in the Console Window:
D:/Test/simple_trx_ui.rb :761:in `on_run_single_test': undefined local
variable or method `test_end' for # (NameError)
from D:/Test/simple_trx_ui.rb :876:in `eval'
from D:/Test/simple_trx_ui.rb :761:in `on_run_single_test'
from D:/Test/simple_trx_ui.rb :876:in `main_dialog'
from D:/Test/trx/external/highline/menu.rb:312:in `call'
from D:/Test/trx/external/highline/menu.rb:312:in `select'
from D:/Test/trx/external/highline.rb:309:in `choose'
from D:/Test/simple_trx_ui.rb :869:in `main_dialog'
from D:/Test/simple_trx_ui.rb :867:in `loop'
from D:/Test/simple_trx_ui.rb :867:in `main_dialog'
from D:/Test/simple_trx_ui.rb :97:in `initialize'
from D:/Test/simple_trx_ui.rb :918:in `new'
from D:/Test/simple_trx_ui.rb :918
Process ruby exited with code 1
With:
Error Regexp: (\s+from)?\s*(.:[^:]+)\s*:(\d+)(.*)
Extra lines regexp:
I _can_ click every line and caret jumps to the right position, but I don't see
the right order because ErrorList is mixed up:
--D:/Test/simple_trx_ui.rb
| |-- 97:in `initialize'
| |-- 761:in `on_run_single_test'
| |-- 761:in `on_run_single_test': undefined local variable or method ...
| |-- 867:in `loop'
| |-- 867:in `main_dialog'
| |-- 869:in `main_dialog'
| |-- 876:in `eval'
| |-- 876:in `main_dialog'
| |-- 918
| '-- 918:in `new'
|
--D:/Test/trx/external/highline/menu.rb
| |-- 312:in `call'
| '-- 312:in `select'
|
--D:/Test/trx/external/highline.rb
'-- 309:in `choose'
With using "Extra lines regexp":
Error Regexp: ^([\ \t]*)(.:[^:]+)\s*:(\d+)(.*)
Extra lines regexp: ^[\ \t]*\s+from\s*(.:[^:]+\s*:\d+:?.*)
the error messages are shown in the right order. But when I click the lines the
caret jumps to the right position only for the first line (matched by 'Error
Regexp'), and if I click the following lines (matched by 'Extra lines regexp'),
it does _not_ jump to the the corresponding position.
(Using additional grouping with paranthesises in the Extra lines regexp doesn't
help.)
--D:/Test/simple_trx_ui.rb
'-- 761:in `on_run_single_test': undefined local variable or method ...
|-- D:/Test/simple_trx_ui.rb :876:in `eval'
|-- D:/Test/simple_trx_ui.rb :761:in `on_run_single_test'
|-- D:/Test/simple_trx_ui.rb :876:in `main_dialog'
|-- D:/Test/trx/external/highline/menu.rb:312:in `call'
|-- D:/Test/trx/external/highline/menu.rb:312:in `select'
|-- D:/Test/trx/external/highline.rb:309:in `choose'
|-- D:/Test/simple_trx_ui.rb :869:in `main_dialog'
|-- D:/Test/simple_trx_ui.rb :867:in `loop'
|-- D:/Test/simple_trx_ui.rb :867:in `main_dialog'
|-- D:/Test/simple_trx_ui.rb :97:in `initialize'
|-- D:/Test/simple_trx_ui.rb :918:in `new'
'-- D:/Test/simple_trx_ui.rb :918
This view apears to me very usable, if it would have enabled the use of the
'Error Patterns' called 'Filename' and 'Line number'.
I'm using:
Windows XP
jEdit 4.3pre16
Java 1.6.0_07
Console 4.3.8
ErrorList 1.7
RubyPlugin 0.9.2
Error pattern:
Name: Ruby
Error Regexp: see above
Warning regexp:
Extra lines regexp: see above
Filename: $2
Line number: $3
Error message: $4
"Ruby" is on the top of the Error patterns list
Axel
HELP - cannot save favorite folders in JEdit on Mac
Submitted by
markw21 on
Wednesday, 22 April, 2009 - 15:45
Hi there, When I save a favorite folder to save to / open from in the file dialog, each time I restart JEdit these favorites are lost.
Can anyone explain how I can fix this.
I have seen windows forum entries stating that the properties files for JEdit stores this information, but I cannot find this on the Mac.
I am running Mac OS X 10.5.6 and have JEdit 4.3pre16
Many thanks
Mark
Global Search and Replace Without Opening Buffers
Submitted by
proee on
Wednesday, 22 April, 2009 - 22:45
I'm wondering if it's possible to do a "Search and Replace" in a directory without having jEdit open a buffer with the files matching the search criteria.
I'm looking for a way to do a "silent" search and replace where jEdit will make the changes, and save the file, all without opening a buffer (which it's currently doing).
In my case, i have a good 30 files with the matching criteria so when I do a "search and replace" in a directory this opens up 30 buffers.
Copy/Paste not working in dialog boxes (jEdit 4.3pre16)
Submitted by
crodge2k on
Thursday, 23 April, 2009 - 19:11
Recently changed jobs and fortunately was able to convince IT to let me install jEdit 4.3 Pre 16 (running on Java 1.6.0_13, WinXP) on my computer. Most things are working just fine, but I can't use copy or paste (C-c, C-v, C-x) in any dialog boxes -- file open, search/replace, hypersearch bar, etc. etc.
I don't think it's a bug because I was using jEdit 4.3 pre previously without an issue.
Suggestions anyone? I don't have admin rights on the machine, so it's hard to make many changes, and I don't want to ask IT to do too much because they'll ask me to switch to the standard software (I only got this installed as a favor). I've used jEdit for a couple of years now and love it -- would hate to have to switch to the "standard" software used here.
file/buffer persistence independent from session or project
Submitted by
mabra on
Friday, 24 April, 2009 - 02:47
Hi All!
Just - so far I think - a useful feature request;Make SOME [selectable] buffers/file always opened at start. This should be independent from session and project [were in the latter, I can just currently have only one open at a time]. May be tell it "always open" and open the files/buffers with one click [I have too many "favorites" to deal with
]. The better option would be to change "project" to have many open at a time.
Best regards,
--mabra
autocomplete macro question
Submitted by
fenderog on
Friday, 24 April, 2009 - 17:33
Hello everyone,
I want to write a macro that does a simple autocomplete. It is a macro that I've had for nedit and I would like to get it working on jedit but I dont have too much experience with java so I wanted to ask for a starting point
Pretty much what I want to have is a macro that once executed, searches the buffer *backwards* starting from the current position. and replaces the current word with the first found result , once executed again, replace it with second results , and go on.
here is an example
string $variableA = "bla";
string $variableB = "blabla";
string $variableC = "blablabla";
string $var -> right when I type this , I'd like to execute this macro , and it would replace $var with $variableC , $variableB $variableA
I'm not asking someone to write this for me, I just wanted to know if there is something out there similar that you might have encountered , if not just some example of a macro that's similar to this would be great
Thanks in advance !!
installing on ubuntu 8.04
Submitted by
nagaraj on
Sunday, 26 April, 2009 - 17:26
hi, is there any detailed installation instructions page anywhere? somehow the installation doesn't seem to work.
1- does it matter if other java installations are present?
2 - if other java installations are present how to direct jedit to recognise sun's java
3 - how to install java and jedit with synaptic
4 - any tweaking that needs to be done and how exactly can that be done? etc
thanks
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.
cursor turns into "no parking" sign
Submitted by
keepsea on
Tuesday, 28 April, 2009 - 18:26
Hi,
sometimes when I am using jEdit, cursor turns into something that looks like black "no parking" sign and I cannot do anything, I cannot click anything and I have to restart X server. Is it a bug or a feature that I accidently turned on? How do I turn it off? If I turned it on I have no idea how I did that - I just noticed it usually happens when I am selecting text. Do you have any advice?
Yhank you.
jdiff plugin problems
Submitted by
cby016 on
Thursday, 30 April, 2009 - 19:33
I am using jedit 4.3pre13 with java 1.6.0_10 on linux mint. The problem I am having is that when I use the jdiff plugin, the two buffers do not scroll together. Also there are no arrows I can click on that will automatically add/remove text to the buffers. Under windows the jdiff plugin was much more functional, is there a way I can fix this in linux?