Restricting regex search matches to single line
Submitted by
trenthill on
Monday, 9 July, 2007 - 01:37
Hi all,
according to jEdit's help, under "Searching For Text":
"Selecting the Regular expressions check box allows a regular expression to be used in the search string. Regular expressions can match inexact sequences of text that optionally span more than one line."
However, I can't seem to find an option to prevent multi-line matches. Is there something I'm missing? I suppose I could explicitly change the search string to prevent newlines from being matched, but that seems like a rather painful approach for what I find to be a common need.
jEdit version is 4.3pre9.
Thanks, Trent.
custom syntax coloring
Submitted by
mituller on
Tuesday, 10 July, 2007 - 21:24
Although JEdit takes care of most of the coloring of syntax that I need, I would like to change a few things, such as
Anti-alias all text in the editor on Mac OS X
Submitted by
simonvwade on
Thursday, 12 July, 2007 - 00:17
Add the following two lines to the Properties dict tag in jEdit.app/Contents/Info.plist:
<key>swing.aatext</key>
<string>true</string>
For example:
<key>Properties</key>
<dict>
<key>apple.awt.textantialiasing</key>
<string>true</string>
<key>apple.laf.useScreenMenuBar</key>
<string>true</string>
<key>apple.awt.antialiasing</key>
<string>true</string>
<key>swing.aatext</key>
<string>true</string>
</dict>
server init very slow at 189385ms
Submitted by
timstearns2 on
Thursday, 12 July, 2007 - 03:26
The problem started with Xubuntu 7.04. If I start JEdit with the -nosettings switch then JEdit starts right up. I've also removed and added plugins with no effect.
These lines are problematic:
[notice] jEdit: An error occurred while connecting to the jEdit server instance.
[notice] jEdit: This probably means that jEdit crashed and/or exited abnormally
I've never noticed any messages indicating that JEdit closes incorrectly?
Searches through the forums and bug tracker have left me clueless.
Anyone have any idea, what I've overlooked?
Thanks
Tim
Activity Log:
[message] Log: When reporting bugs, please include the following information:
[message] Log: java.version=1.6.0
[message] Log: java.vm.version=1.6.0-b105
[message] Log: java.runtime.version=1.6.0-b105
[message] Log: java.vendor=Sun Microsystems Inc.
[message] Log: java.compiler=null
[message] Log: os.name=Linux
[message] Log: os.version=2.6.20-16-generic
[message] Log: os.arch=i386
[message] Log: user.home=/home/tim
[message] Log: java.home=/usr/lib/jvm/java-6-sun-1.6.0.00/jre
[message] Log: java.class.path=/usr/local/share/jedit/4.3pre9/jedit.jar
[notice] jEdit: An error occurred while connecting to the jEdit server instance.
[notice] jEdit: This probably means that jEdit crashed and/or exited abnormally
[notice] jEdit: the last time it was run.
[notice] jEdit: If you don't know what this means, don't worry.
[notice] jEdit: java.lang.NullPointerException
[notice] jEdit: at org.gjt.sp.jedit.jEdit.main(jEdit.java:243)
[notice] jEdit: jEdit version 4.3pre9
[message] jEdit: Settings directory is /home/tim/.jedit
[message] jEdit: jEdit home directory is /usr/local/share/jedit/4.3pre9
[debug] SplashScreen: init:26ms
[debug] SplashScreen: init system properties:19ms
[debug] SplashScreen: init GUI:28ms
[debug] SplashScreen: init beanshell:152ms
[debug] SplashScreen: loading site properties:16ms
[debug] SplashScreen: loading user properties:20ms
[notice] EditServer: java.net.BindException: Cannot assign requested address
[notice] EditServer: at java.net.PlainSocketImpl.socketBind(Native Method)
[notice] EditServer: at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:359)
[notice] EditServer: at java.net.ServerSocket.bind(ServerSocket.java:319)
[notice] EditServer: at java.net.ServerSocket.(ServerSocket.java:185)
[notice] EditServer: at org.gjt.sp.jedit.EditServer.(EditServer.java:83)
[notice] EditServer: at org.gjt.sp.jedit.jEdit.main(jEdit.java:389)
[debug] SplashScreen: init server:189385ms
[debug] SplashScreen: init look and feel:13ms
[debug] SplashScreen: init VFS Manager:7ms
[debug] ActionSet: Loading actions from jar:file:/usr/local/share/jedit/4.3pre9/jedit.jar!/org/gjt/sp/jedit/actions.xml
[debug] DockableWindowManager: Loading dockables from jar:file:/usr/local/share/jedit/4.3pre9/jedit.jar!/org/gjt/sp/jedit/dockables.xml
[debug] EditBus: SearchSettingsChanged[source=null]
[debug] SplashScreen: init resources:345ms
[notice] jEdit: Loading plugins from /usr/local/share/jedit/4.3pre9/jars
[debug] EditBus: PluginUpdate[what=LOADED,exit=false,source=/usr/local/share/jedit/4.3pre9/jars/LatestVersion.jar,class=LatestVersionPlugin]
[debug] EditBus: PluginUpdate[what=LOADED,exit=false,source=/usr/local/share/jedit/4.3pre9/jars/QuickNotepad.jar,class=QuickNotepadPlugin]
[notice] jEdit: Loading plugins from /home/tim/.jedit/jars
[debug] SplashScreen: init plugins:122ms
[message] HistoryModel: Loading history
[debug] SplashScreen: init history model:21ms
[message] BufferHistory: Loading recent.xml
[debug] SplashScreen: init buffer history:9ms
[message] KillRing: Loading killring.xml
[debug] SplashScreen: init killring:21ms
[debug] jEdit: SOCKS proxy disabled
[debug] jEdit: HTTP proxy disabled
[debug] EditBus: PropertiesChanged[source=null]
[debug] SplashScreen: init various properties:24ms
[message] jEdit: Loading mode catalog file /usr/local/share/jedit/4.3pre9/modes/catalog
[message] jEdit: Loading mode catalog file /home/tim/.jedit/modes/catalog
[debug] SplashScreen: init modes:86ms
[debug] SplashScreen: activate plugins:2ms
[debug] Macros: Registered beanshell macro handler
[debug] EditBus: DynamicMenuChanged[menu=macros,source=null]
[message] BeanShell: Running script /usr/local/share/jedit/4.3pre9/startup/getGraphicsEnvironment.bsh
[message] BeanShell: Running script /usr/local/share/jedit/4.3pre9/startup/startup.bsh
[debug] String: BeanShell interpreter version 2.0b4-jedit
[debug] SplashScreen: init macros:248ms
[debug] SplashScreen: run startup scripts:1ms
[debug] SplashScreen: run startup scripts:2ms
[debug] EditBus: BufferUpdate[what=LOAD_STARTED,view=null,source=Untitled-1 (/home/tim/)]
[debug] EditBus: BufferUpdate[what=CREATED,view=null,source=Untitled-1 (/home/tim/)]
[message] PerspectiveManager: Loading /home/tim/.jedit/perspective.xml
[debug] EditBus: BufferChanging[what=BUFFER_CHANGING,source=org.gjt.sp.jedit.EditPane[inactive]]
[debug] EditBus: EditPaneUpdate[what=CREATED,source=org.gjt.sp.jedit.EditPane[inactive]]
[debug] EditBus: ViewUpdate[what=CREATED,source=org.gjt.sp.jedit.View[active]]
[debug] EditBus: EditorStarted[source=null]
[debug] WorkThread: Work request thread starting [jEdit I/O #1]
[debug] WorkThread: Work request thread starting [jEdit I/O #2]
[debug] WorkThread: Work request thread starting [jEdit I/O #3]
[message] jEdit: Startup complete
[debug] WorkThread: Work request thread starting [jEdit I/O #4]
[debug] JEditTextArea: InputMethodSupport is activated
[notice] jEdit: Loading edit mode /usr/local/share/jedit/4.3pre9/modes/text.xml
[debug] EditBus: BufferUpdate[what=PROPERTIES_CHANGED,view=null,source=Untitled-1 (/home/tim/)]
[debug] EditBus: BufferUpdate[what=LOADED,view=null,source=Untitled-1 (/home/tim/)]
[error] KeyEventTranslator: Invalid key stroke: C+e C+BACK_QUOTE
[debug] EditBus: DockableWindowUpdate[what=ACTIVATED,dockable=log-viewer,source=org.gjt.sp.jedit.gui.DockableWindowManager[,0,0,1024x699,layout=org.gjt.sp.jedit.gui.DockableLayout,alignmentX=0.0,alignmentY=0.0,border=,flags=9,maximumSize=,minimumSize=,preferredSize=]]
[debug] EditBus: DockableWindowUpdate[what=ACTIVATED,dockable=log-viewer,source=org.gjt.sp.jedit.gui.DockableWindowManager[,0,0,1024x699,layout=org.gjt.sp.jedit.gui.DockableLayout,alignmentX=0.0,alignmentY=0.0,border=,flags=9,maximumSize=,minimumSize=,preferredSize=]]
SQL plugin -- show number of results
Submitted by
awarberg on
Thursday, 12 July, 2007 - 10:59
Hello
Is it possible to setup the SQL plugin to show the number of rows retrieved from the query?
Right now it will show the exact number when the number is <= 10, but for >10 it just shows >10... the exact number would be very valuable to me.
Thank you for a great program (jedit) and an awesome plugin (SQL).
Best regards
Andreas Warberg
change double-click text highlighting behaviour
Submitted by
Markus.Daum on
Thursday, 12 July, 2007 - 13:57
Hi,
I wonder if / how it is possible to change the behaviour of jedit when a word in the text edit pane is (LMB) double clicked. Currently it does select / highlight only coherent letters and numbers, but ignores any special characters (so that these characters will not be part of the selected text).
This is a problem for me, because I'm currently coding in MEL (Maya's Embedded Language), where all variable names have to be defined with a leading dollar sign, like "$myVariableName" for example. When I double click on such a variable name, everything but the special character(s) are selected / highlighted, so in my case only "myVariableName", but not "$myVariableName". How / where can I change this behaviour, i.e. how could I add the dollar sign to the characters that are considered by this double click selection?
Cheers!
Markus
How to chaging default explicit fold characters
Submitted by
thebugslayer on
Thursday, 12 July, 2007 - 17:30
Hi,
Is there way to change default explicit fold marker "{{{" and "}}}" to something custom?
thanks
tbs
OS X and My Java Nightmare
Submitted by
thynctank on
Tuesday, 17 July, 2007 - 04:36
(this is a repost from FreeMind forum on SourceForge... I really need help!)
I do hope the FreeMind patrons/artisans can help me! I've only recently had a machine with enough RAM/free cycles to consider really using Java apps seriously. I've taken a shine to Eclipse (natch!) FreeMind and more recently jEdit.
So today when I went to open a .mm file I created on Friday (it's Monday night now) I was distraught to find FreeMind wouldn't load. I figured I must've done something wrong. But as I clicked and clicked away at the dock icon which had worked fine for months (!) I realized I hadn't changed anything -- my guess is and automatic OS X update is the culprit, and I install those almost without a thought.
To back up my "something changed and I didn't do it" theory, I tried running jEdit. Same deal. Basically, the icons for these apps will bounce in the dock to indicate they are launching, and then simply stop, indicating a failed launch. BUT! No error code, no message of any kind.
To further confuse things, Eclipse is loading fine.
I've tried upgrading to the most recent Java (apparently SE 6? Or J2SE 1.5... I've always hated Java numbering schemes), playing with the various Java Preferences apps in OS X (I have 4 installed, one for each of the previously-mentioned versions and one for 1.4.2, one for 1.3.1...) and nothing. I've tried wiping out the /usr/bin/java dir but can not install older versions (I'm sure there are just other dirs I'm missing to allow for a clean install, but I worry about Apple Auto updater even after that...)
Has anyone else had this issue? I'm really pulling out my hair here!
Creating uneditable blocks of text
I want to create a mode which will highlight a block of text and make it read-only. Is this possible?
Basically, what I am looking to do is put text into a file that are comments which the user cannot change. It would look something like this...
**Editable text**
Normal text......
%% This comment cannot be changed or deleted %%
More text here that the user can enter or change.
.....
I would want the text between the %% symbols (or whatever) and the delimiters themselves to be fixed so that they cannot be changed from within JEdit.
Can parts of the edit window be made uneditable?
Thanks in advance
-- David Kightley
Developing jEdit in NetBeans
Dear jEdit developers,
I would like to let you now that we have recently ported jEdit 4.2 environment into the NetBeans IDE.
You may wish to check it out:
http://wiki.netbeans.org/wiki/view/NetbeansedJEdit
Now you can completely run, debug, and profile jEdit inside the NetBeans IDE, and have access to all nifty features NetBeans IDE provides to make developer's more productive and happy.
I would greatly appreciate any feedback you may have about my project and any ideas on how to make it more useful for jEdit community.
If you are new to NetBeans please go to http://www.netbeans.org for all information, tutorials and fun stuff.
Daria Titova
NetBeans Engineer.
AutoIt Edit Mode (au3_edit-mode.zip v3.0 by Thorsten Willert)
Edit-Mode for the BASIC-like scripting language AutoIt.
It includes highlighting for:
- Build-in functions
- UDFs
- Macros
- Sendkeys
- Comments
- Own Functions
- Variables
- ...
Commando Files for AutoIt (Console-plugin)
Screenshots and additions for Ctags /Sidekick, Clipper, XInsert and some macros are on my
homepage.
V3.0 - Updated to AutoIt V3.3.0.0
AutoIt Commando Files (au3_commando.zip v7 by Thorsten Willert)
Four commando files for AutoIt:
- au3_run: Runs the au3-file in the current buffer (ANSI or Unicode).
- au3_check: Checks the syntax of the au3-file in the current buffer.
- au3_compiler: Compiles the au3-file in the current buffer to an exe-file.
The compiler-UI is like the "AutoIt Script to EXE Converter".
- au3_tidy: Starts the Tidy.exe for the current buffer.
- au3_AutoItWrapper: Starts the AutoItWrapper.exe for the current buffer.
- au3_Obfuscator: Starts the Obfuscator.
Edit-Mode for AutoIt
Screenshots and additions for Ctags /Sidekick, Clipper, XInsert and some macros are on my
homepage.
APB: Specman-E (a hardware verification language) syntax highglighting mode created
Submitted by
LDiracDelta on
Tuesday, 24 July, 2007 - 14:24
FYI, I've created a Specman syntax highlighting mode for JEdit here:
http://ldiracdelta.redirectme.net/wiki/index.php/Specman_JEdit_Mode
- L{ DiracDelta( t ) }
Large files?
Submitted by
tclwarrior on
Thursday, 26 July, 2007 - 06:35
How can I can edit large files on jedit 100+ MB
Is it even possible?
Whats the file size limit on jedit?
By the way I am running 4.3pre9
And I checked the help I found how I can improve the handling of jedit by
passing by -mxXXm to the command line. (propably java -mx128m ???)
I am running windows and I have no clue how to do this, I just click on
the jedit jar and it starts!
I also downloanded the JMstats plugin and it tells me that my max memory is 64 MB
The file I was trying to open was 120 MB
Does this mean that jedit need to load all the file in memory to edit it?
This doesnt feel efficient!
Large files?
Submitted by
tclwarrior on
Thursday, 26 July, 2007 - 06:36
How can I can edit large files on jedit 100+ MB
Is it even possible?
Whats the file size limit on jedit?
By the way I am running 4.3pre9
And I checked the help I found how I can improve the handling of jedit by
passing by -mxXXm to the command line. (propably java -mx128m ???)
I am running windows and I have no clue how to do this, I just click on
the jedit jar and it starts!
I also downloanded the JMstats plugin and it tells me that my max memory is 64 MB
The file I was trying to open was 120 MB
Does this mean that jedit need to load all the file in memory to edit it?
This doesnt feel efficient!