Syntax highlight wildcard?
Submitted by
sigfreund on
Thursday, 20 September, 2007 - 10:28
Is there a way to define a wildcard to define a keyword for highlighting? I want to have all of the key words LCD_Col1, LCD_Col2, ... , LCD_Col99 highlighted the same color?
Thanks
Sig
Regex lookbehinds in edit mode definition don't work
Submitted by
hmhoek on
Thursday, 20 September, 2007 - 08:29
I'm trying to improve the highlighting on methods and properties in my Powershell mode. It seems to me that lookbehinds are the best way to get this done. The following example shows what I believe to be a valid statement:
<SEQ_REGEXP TYPE="KEYWORD3">(?<=\$[a-z]{1,100}\.)\w+(?=\()</SEQ_REGEXP>
This matches "$foo.bar()" when I do a search but doesn't highlight it (I'm trying to highlight "bar"). Is this something to do with the tokens being passed aroung the highligher simply not having characters for the lookbehind to match?
I don't see any other modes using this technique so I'm wondering if anyone has tried it.
no more code-hints with html?
Submitted by
tomasio on
Tuesday, 18 September, 2007 - 21:18
e.g.: &[auml;]
[ouml;]
[uuml;] whereas the brackets shall visualize the code-hint which in earlier versions of my jedit (4.3pre, Windows XP and Mac OS 10.3.9) popped up with suggestions how to complete my html code. It also closed tags: when I wrote
some text here
it put automatically [body>] to close the tag appropriately.
Monospaced Programmers fonts like
Profont seem to work bad with JEdit on my Apple, as the caret showing where you are editing is misplaced. sometimes i wanted to delete an unwanted space and it started deleting some letters before that.
and last, but not least the feature I miss most bitterly. The brackets to the left of the gutter which are connecting the starting and end tags. strangely enough this seems to work only with CSS code.
here is a explanatory screenshot.
Does anybody has any solution to these incidents? Or could you give me a clue of what I am doing wrong?
THX in advance,
--
tomasio
autocomplete not turning off
Submitted by
Thadanator on
Tuesday, 18 September, 2007 - 07:52
When I'm editing html, and I type "</" I DON'T want it to complete it for me!
That creates this: "</span>span>" (because I typed the whole thing) which is very annoying. It's even worse if it ended the wrong tag. Sometime's (rarely) it shows a little box by my cursor that requires me to press ENTER to autocomplete. Why only sometimes?!?!?
So, what option is this under, I've searched google and this forum far and high but nothing works.
Thank you.
Find Highlighted
Submitted by
abc123 on
Monday, 17 September, 2007 - 15:51
Does anyone know how to find the currently highlighted text in Jedit? What I mean is:
1. Highlight a word
2. Execute a key stroke that then finds that word immediately
I can kind of get this to work if I use the Incremental Search Bar but it requires a keystroke to get the highlighted characters into the Incremental Search Bar and then another keystroke to find whatever was copied into the Incremental Search bar. I'd like to be able to do this with one keystroke. Hypersearch is good but I don't always want to open another window.
Highlight search results?
Submitted by
Redoute on
Sunday, 16 September, 2007 - 15:57
Another question: Is there something like Vim's hlsearch option in jEdit?
I already found the Highlight-plugin, that allows to highlight the results from last search, but doesn't change with the next search.
Is there a way to automatically highlight results during/after every search?
Change line-end marker?
Submitted by
Redoute on
Sunday, 16 September, 2007 - 15:47
Hello,
is it possible to change the line-end marker in jEdit? The dot confuses me, I would prefer the well-known Pilcrow sign.
I hate to be a moron but... (VB and SQL edit mode question)
Submitted by
Beestie on
Friday, 14 September, 2007 - 06:36
I hate to be a moron - I have *tried* to figure this out before posting - but where is the edit mode for VB and SQL. After scouring the features pages online and the help files, I became sure that VB and SQL edit modes were included in the base package but they are not in the list (I see sql-loader and VBscript, tho).
I also looked very hard in the plugin pages but did not see plugins for VB and SQL edit modes which sort of confirmed my understanding that they were already included.
I just discovered this program and am thus far amazed but it would be very helpful if I could figure out how to activate these two edit modes as that is the primary reason for me to utilize jEdit.
Thanks in advance for taking the time to reply to an annoying newbie
Help! Poker playing jEdit noob needs urgent .txt file help
Submitted by
ddess on
Monday, 10 September, 2007 - 12:11
Hello All
I am a poker player. I use various tools to analyse my play. One of these tools relies on the importing of .txt files. However, the pokersite I use has recently changed the formatting of their so called Hand History .txt files and I can no longer import them into my hand analyses software. The chags to the .txt files are easy to see but finding a tool to make these changes in bulk correctly is proving somewhat of a challenge. A single poker hand looks like the one shown below and a session is a series of hands all stored in a single .txt file.
My ability to execute this is essential and I would be delighted to hear from anyone who could help set me on the right road. I'm sure with the right knowledge this will be fairly simple. Below are a couple of examples of the formatting changes that I need to make
I look forward to hearing from anybody who feels they can help.
1. First Line
Instead of - TEXAS_HOLDEM, , 309556744
I need it to read - Texas Hold'em $1-$2 NL (Real Money), #309556744
Where the '$1-$2' is information collected from the line beneath ANTES/BLINDS
2. 'FLOP' & 'TURN' Line
In this particular hand the information contained in the [ ] after the words FLOP and TURN is identical. I need to be able to identify this and where it is identical overwrite the TURN line with the text SHOWDOWN so :-
FLOP [board cards: 7H,5H,2D ]
Haemaelii bets $12, MaccaDrum folds.
TURN [board cards: 7H,5H,2D ]
Haemaelii wins $30.05.
becomes
FLOP [board cards: 7H,5H,2D ]
Haemaelii bets $12, MaccaDrum folds.
SHOWDOWN
Haemaelii wins $30.05.
____________
TEXAS_HOLDEM, , 309556744
played at "Bruckmur" for USD RM from 1969-12-31 18:59:59
Seat 1: masterF ($473.25 in chips)
Seat 2: Tekkie5 ($170.35 in chips)
Seat 3: Johnnie1970 ($236.90 in chips)
Seat 4: DJDomus ($32 in chips)
Seat 5: MaccaDrum ($181.55 in chips)
Seat 6: x..X..x ($139.65 in chips)
Seat 7: 123Arttu ($201.95 in chips)
Seat 8: Kukko8383 ($20 in chips)
Seat 9: ghttt11444 ($208 in chips)
Seat 10: Haemaelii ($293 in chips)
ANTES/BLINDS
123Arttu posts blind ($1), Kukko8383 posts blind ($2).
PRE-FLOP
ghttt11444 folds, Haemaelii bets $8, masterF folds, Tekkie5 folds, Johnnie1970 folds, DJDomus folds, MaccaDrum calls $8, x..X..x folds, 123Arttu folds, Kukko8383 folds.
FLOP [board cards: 7H,5H,2D ]
Haemaelii bets $12, MaccaDrum folds.
TURN [board cards: 7H,5H,2D ]
Haemaelii wins $30.05.
SUMMARY
Dealer: x..X..x
Pot: $31, (including rake: $0.95)
masterF, loses $0
Tekkie5, loses $0
Johnnie1970, loses $0
DJDomus, loses $0
MaccaDrum, loses $8
x..X..x, loses $0
123Arttu, loses $1
Kukko8383, loses $2
ghttt11444, loses $0
Haemaelii, bets $20, collects $30.05, net $10.05
_________________
colorizing text
Submitted by
sinebubble on
Friday, 7 September, 2007 - 18:03
I'm working with a fairly large shell script with lots of if statements. I'm trying to find some way of colorizing blocks of text to show my closed if statements, but I'm not having any success. Couldn't find a plugin to do the work, either. Any advice?
Plugin Error
Submitted by
sumitnavare on
Friday, 31 August, 2007 - 09:02
Hi,
I am getting this error while trying to install any plugin -
"Error while downloading the plugin, please try another mirror.
Connection refused."
I have tried different mirrors but all give the same error.
Any solutions? Or is there any way to manually install the plugin?
Sumit
jEdit startup behavior on WinXP
Submitted by
NMPE on
Friday, 24 August, 2007 - 15:54
When I installed jEdit I chose to have it start automatically when Windows started. Now I don't want that behavior anymore. (I don't mind waiting for it to load completely on the odd occasion that I use it now.) Is there any way I can change this setting without removing it and reinstalling? [jEdit4.3pre9 using Java 1.6.0_01]
Javascript Editing Performance
Submitted by
seani on
Friday, 24 August, 2007 - 14:19
Hi,
I'm changing some largish JS source code files (5000 ~ 10,000 lines), and I've noticed that there's quite pause when I type a function name followed by a "(" character in these files.
I'd guess this is something to do with some sort of code-completion/parsing. Any insights, and how would I turn off whatever behaviour might be causing the delay?
Thanks
Sean
Vertical lines marking block locations
Submitted by
etiger13 on
Monday, 20 August, 2007 - 20:42
Does anyone know how I can get the vertical lines showing where the tabs line up like here: http://www.rutherfurd.net/jEdit/jedit_ss3.jpg
the vertical lines I want start with the current tab and go all the way down to the next tab. not the lines in the gutter, but the lines in the actualy document itself
Associating Files With jEdit
Submitted by
doggroomer on
Monday, 20 August, 2007 - 18:07
I really like using jEdit. It is a wonderful piece of software.
But with version 4.2 there is no way to associate file types with jEdit.
I was looking for a way to associate file types with jEdit in Windows.
Windows will not let you associate an executeable ".jar" file with a file type.
I like the function in windows of just double clicking on the file name and
having the file load in a particular application. When a file is double clicked
in Windows the file name is passed to the program associated with that file.
From some simple testing I knew that jEdit would accept a command line argument
with the file name in it. So all you have to do is create a simple executeable
file that will pass its command line arguments to jEdit and load jEdit. I did
this using Visual Studio 2005.
Create a new windows application and name it "jEdit".
Make the Icon for the executeable
In the Solution Explorer right click on the jEdit project and select
"Properties".
In the main screen on the left hand tab section choose the "Application"
tab.
Under icon browse to the jEdit icon saved wherever jEdit was installed on
your computer.
Add this code in the form load event
Try
Dim jFile As String = ""
If My.Application.CommandLineArgs.Count = 0 Then
'There are no command line arguments
'So there is no File Name supplied
'Will just load Jedit when .exe is double clicked
jFile = Nothing
Else
'A file associated with this appliction is doubled clicked
'The file name is passed in the first command line argument
'Enclose filename in quotation marks in case of spaes in file name
jFile = Chr(34) & My.Application.CommandLineArgs.Item(0) & Chr(34)
End If
Dim applicationName As String = "C:\Program Files\jEdit\jedit.jar"
Dim jProcess As New System.Diagnostics.Process
jProcess.StartInfo.FileName = applicationName
jProcess.StartInfo.Arguments = jFile
jProcess.Start()
jProcess.Close()
Catch ex As Exception
MessageBox.Show(ex.Message, "jEdit Load Error")
End Try
Me.Visible = False
Me.Close()
The "C:\Program Files\jEdit\jedit.jar" is installation location for the jEdit
executeable. So change this as necessary.
Build the project
Navigate to the Visual Studio 2005 project folder for the jEdit project you
created and locate the executeable created after the build.
Save the ".exe" in the jEdit installation directory.
You now have a "jEdit.exe" that you can associate file types too.
no answer first time(s) - why don't C+c and C+v work in ubuntu as they should
Submitted by
mamboze on
Monday, 20 August, 2007 - 05:39
Well, the title says most of it. I have used jEdit on win xp before, great editor, now on ubuntu, still a great editor but with one irritating hassle, C+c does a cut instead of a copy and leaves 'c' behind, C+v pastes and adds a 'v'. OK, I can use C+insert and S+insert,these work OK but these are listed only as alternative shortcuts in Options/Shortcuts.
Sure, jEdit rocks but it could rock a bit better for me if these shortcuts worked as designed and specified in the relevant Options section.
I'm not sure whether this is a bug (unlikely) or that I've overlooked some switch or other. Has anybody else experienced this problem?
no answer first time(s) - why don't C+c and C+v work in ubuntu as they should
Submitted by
mamboze on
Monday, 20 August, 2007 - 05:37
Well, the title says most of it. I have used jEdit on win xp before, great editor, now on ubuntu, still a great editor but with one irritating hassle, C+c does a cut instead of a copy and leaves 'c' behind, C+v pastes and adds a 'v'. OK, I can use C+insert and S+insert,these work OK but these are listed only as alternative shortcuts in Options/Shortcuts.
Sure, jEdit rocks but it could rock a bit better for me if these shortcuts worked as designed and specified in the relevant Options section.
I'm not sure whether this is a bug (unlikely) or that I've overlooked some switch or other. Has anybody else experienced this problem?
Why jEdit Rocks
I've just written a rave review about our favorite editor, complete with numerous screenshots about the parts of it that I find most impressive:
http://jonaquino.blogspot.com/2007/08/why-jedit-text-editor-rocks.html
Autocomplete not working
Submitted by
sgtrock123 on
Sunday, 12 August, 2007 - 19:03
Is there a known problem with 4.3pre9 not autocompleting HTML/XML tags? I upgraded to 4.3pre9 quite a while back, and though I can't confirm that it was the upgrade that removed the autocomplete it does seem like it has been "quite a long time" since I had autocomplete working in jEdit. Is there a configuration change that I can make?
To be clear, I'm not talking about the autocompletion of words in the buffer as provided by the TextAutocomplete plugin. I'm looking for the ability to type in <foo> and getting <foo>(cursor here)</foo> instead, with indention for block-level elements.
jEdit "used to" have this feature, and I haven't seen it in a long time. Any help greatly appreciated.
Thanks,
-dave
Problems with C+c and C+v
Submitted by
mamboze on
Saturday, 11 August, 2007 - 10:08
Hi,
I recently migrated from win xp to ubuntu. I installed jEdit for work with ruby on rails and things are fine except for one little problem - isn't there always one.
The C+c sequence doesn't copy, it cuts and leaves a 'c' in the text, similarly with C+x, an 'x' is left. C+v copies and then appends a 'v'. The DELETE/INSERT alternatives work OK. This is no big deal but the C+c etc keystrokes work elsewhere in ubuntu so why not in jEdit.
Any suggestions on how this might be resolved would be much appreciated