select (hightlight) line when clicking / dragging line-numbers
Submitted by
Markus.Daum on
Friday, 27 July, 2007 - 11:31
Hi,
Is there a way to connect a (LMB) click onto the line-number display area with the "Select Line" command? This is sort of a standard behavior for many other text-editors, but does not seem to work in jedit. To begin with, I wouldn't even know how to detect a (LMB) click in this area at all...
Ideally I would also like to be able to click-drag in the line-number area and have lines of my text selected / highlighted accordingly. Hope this does make some sense?
Thanks,
Markus
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 ) }
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
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
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>
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
SuperAbbrevs import file format
Submitted by
tnini on
Tuesday, 10 July, 2007 - 15:28
I am trying to import in abbreviations using the "Import from file" feature of SuperAbbrevs but I can't get it to work. Can anyone give some direction for this and how the import file should be laid out/formatted?
jEdit version 4.3pre9.
SuperAbbrevs version 0.25
Thanks,
Troy
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.
Where are Favorites stored?
Submitted by
Todd on
Thursday, 5 July, 2007 - 21:26
I'm moving my settings to a new computer and would like to manually edit my Favorites so they work on the new machine. I found the XML files for the Project Viewer plug-in, but can't figure out where Favorites are saved. One post I found said they were in the settings folder in a file called "properties", but I have no such file (using 4.3pre9). Can someone point me in the right direction? Thanks.
Todd Prouty
Editing fortran source code
Submitted by
GKalman on
Tuesday, 26 June, 2007 - 14:00
Apparently Java is the deafult case. I have no problem when working with a "foo.java" file to insert a "line comment". Then "//" appears correctly in front of the selected line.
However, when I try to do same for a "foo.f90" file, jEdit ignores the command (instead of inserting "!").
My setup for the editing dialog: (with WindowsXP)
Utilities/Global Options/jEdit/Editing/Change Settings for mode: fortran
File name glob: *.f90
Default edit mode: fortran
Then push buttons: Apply & OK
Then from the "Edit" drop-down menu:
Edit/Source/Line Comment
Result on the highlighted line: command IGNORED
Although, as I said, with a Java file I had no problem doing the same.
Why?
First-time user.
Modify curly brace ({}) behavior.
Submitted by
the_0ne on
Tuesday, 26 June, 2007 - 12:58
I'm trying to find the way to modify the curly brace behavior so it doesn't constantly tab my hash/array/function blocks. I've found all kinds of key behavior in the Utilities -> Global Options -> Shortcuts section, but don't see where the curly brace behavior is coming from. It's really annoying. Something like this is almost impossible to type into jedit.
part_type_info = { 'to' => { 'optlist' => "fontname=optima fontsize=12 encoding=unicode " +
"fillcolor={gray 0} alignment=justify leading=120%",
'caption_part' => false } }
Everytime I type an open set of curly braces, it lines up where it thinks it should and I have to then space it myself. I just want the curly braces to not do anything, I can format the code myself.
Thanks in advance...
Encoding per folder
Submitted by
atg2d on
Friday, 22 June, 2007 - 09:29
Is it possible to set specific encoding per page?
I am working on more than one project at a time and some of them are utf-8 some are windows-1251. I have set up utf-8 as my default encoding, but when i open one of the other projects that uses windows-1251 i have to change the encoding to windows-1251 and then close(without saving) and reopen the file for the encoding to take place(if i forget and save the file with the incorrect encoding all non ASCII characters are screwed).
I wonder if it is possible to set some associations 'folder - encoding' and when opening file jedit checks whether the file is in one of these directories and opens it with the specified for that folder encoding.
So is there such functionality or plugin for jedit?
If not i would like to make that a request. If i had any kind of java experience i would do a plugin myself but i don't - i will have to learn java and jedit plugin architecture, while someone with experience in jedit plugin development will probably be able to do it in an hour.
Thank you
running local apache server through jedit
Submitted by
misterdanny on
Friday, 22 June, 2007 - 00:56
Is there a way to have jedit run an application in the background launching it from jedit? I normally have to open apache and jedit to work on PHP things, It would be cool to have apache open/close buttons inside jedit to use apache as it's needed all within the same thing.
Auto switch Snytax Highlight Colors when switching modes?
Submitted by
Jakobud on
Friday, 15 June, 2007 - 22:33
I am a recent jEdit convert. I come from a world of other text editors (like Ultraedit) where each mode has its own syntax highlighting color assignments. So for example, when viewing a PHP file, my background is blue, strings are red, comments are green etc... But then when viewing Python, all those things are different colors.
So I was wondering if there are any plugins or anything that allows you to automatically switch colors whenever you switch modes? The closest thing I can find is this plugin called "Editor Scheme Selector". I allows you to save/load color schemes (for the TextArea, Syntax colors and Gutter). So I save different color schemes and have to manually switch between them when I swap modes.
So anyways, is it possible to do what I am wanting?
Auto switch Snytax Highlight Colors when switching modes?
Submitted by
Jakobud on
Friday, 15 June, 2007 - 22:24
I am a recent jEdit convert. I come from a world of other text editors (like Ultraedit) where each mode has its own syntax highlighting color assignments. So for example, when viewing a PHP file, my background is blue, strings are red, comments are green etc... But then when viewing Python, all those things are different colors.
So I was wondering if there are any plugins or anything that allows you to automatically switch colors whenever you switch modes? The closest thing I can find is this plugin called "Editor Scheme Selector". I allows you to save/load color schemes (for the TextArea, Syntax colors and Gutter). So I save different color schemes and have to manually switch between them when I swap modes.
So anyways, is it possible to do what I am wanting?
CS-RCS Pro - Componant Software source control
Hi all
How to Add a new Source Control System
First add the system type to the SourceControl.props file in the key...
options.sourcecontrol.sctypes
- I've found the file.
- I put CS-RCS as the entry.
- Am I on the right track?
Then create a class that implements the com.sgbarlow.sourcecontrol.SourceControlInterface interface. Your class must have name equal to the name you give your Source Control system with the spaces removed and Impl added to the end. i.e. MS Visual Source Safe becomes MSVisualSourceSafeImpl
- This has me stumped.
- Where do I create this class?
- Do I match the type?
- The repository says it is SCC API.
- Do I use that?
- If some one has done this before, I sure could use some help.
Thanks George
M$ XP, Sony Vaio.