CtagsSideKick case insensitive tag sort?
  Submitted by 
colinl on 
Thursday, 8 November, 2007 - 16:36
Hi
I use CtagsSideKick with C++, it is excellent.  Unfortunately I have legacy code that is inconsistent in the case of function names.  When I sort tags by name it correctly but non-intuitively (for me anyway) sorts all functions starting in upper case before those starting in lower case.  Is there a way of getting it to ignore the case?
Thanks
  
 
  
  
  jEdit java source files
  Submitted by 
vikki_pu on 
Monday, 12 November, 2007 - 05:32
Hello ,I want to know that where I get the Java source files of jEdit editor or like as DrJava,J,eclipse etc...
Anyone know the Url or link so please tell me.
Thanks in Advance..
  
 
  
  
  jEdit Font Courier New != Windows Courier New ?!
  Submitted by 
uhuebner on 
Thursday, 15 November, 2007 - 13:02
I'm using jEdit 4.2pre11 on Windows XP.
Text Area font is Courier New 12.
Why does it look completely different (may I say ugly?) from the Windows one?
Can I use the Windows font?
  
 
  
  
  Plugin Console: TOGGLE LABEL is not working properly
  Submitted by 
domingo80 on 
Thursday, 15 November, 2007 - 23:42
Hello guys,
I'm having some problems making an XML file for a commando UserInterface with 
the console plugin. 
The jedit help is telling about the use of the TOGGLE_ENTRY ELEMENT the 
following:
Here is an example TOGGLE_ENTRY element:
<TOGGLE_ENTRY LABEL="Additional file" VARNAME="ignoreCase"
EVAL="buffer.getPath()"/>
Now, i've try this:
<?xml version="1.0"?>
<!DOCTYPE COMMANDO SYSTEM "commando.dtd">
<COMMANDO>
<TOGGLE LABEL="blahblah"
VARNAME="var1" />
<TOGGLE_ENTRY LABEL="more blah " VARNAME="var2"
EVAL="buffer.getPath()"/>
</COMMANDO>
The first action "toggle" is working, which means for me that the xml file (under 
\.jedit\console\commando) has been found and could be read. Now, if i add the 
element "toggle_entry" jedit is giving an error. Im having exactly the same 
problem with the LONG ENTRY element!
Am i doing something really wrong or is this a bug? This feature is really 
important for me, so if u guys have an idea, plz let me know it!
The first lines of the BeanShell error say:
Sourced file: inline evaluation of: ``commandoTOGGLE_ENTRY(view,pane,ns,label,var,options);'' 
: Undefined argument: value : at Line: 10 : in file: commandoTOGGLE_ENTRY : ( 
value ) 
Called from method: commandoTOGGLE_ENTRY : at Line: 1 : in file: inline 
evaluation of: ``commandoTOGGLE_ENTRY(view,pane,ns,label,var,options);'' : 
commandoTOGGLE_ENTRY ( view , pane , ns , label , var , options ) 
at bsh.BSHArguments.getArguments(BSHArguments.java:67)
at bsh.BSHPrimarySuffix.doName(BSHPrimarySuffix.java:167)
.....
...
. 
    
  
  
  TypoScript problem
  Submitted by 
blipbloup on 
Friday, 16 November, 2007 - 10:15
Hi,
I'm using the TypoScript extension for jEdit and have the following problem :
In "Plugin Options", when I choose "TypoScript" and click on the + button to add a new site, nothing happen !
I tried with jEdit 4.2 and 4.3.
Thanks for help !
  
 
  
  
  sql 2 html
  Submitted by 
mbisping on 
Saturday, 17 November, 2007 - 11:25
Hello,
I'd like to present SQL from a database with syntax highlighting on a HTML-web page.
I thougt about combining the JEdit syntax package
with the Code2Html plugin.
However, even the old version of the plugin doesn't streamline with the jedit syntax code.
What would be the best/easiest way to create a java method like
/**
* param String sql - a number of sql statements
* returns syntax highlighted sql codes in HTML notation
**/
public String toSyntaxHighlightHTML(String sql)
Cheers
Meikel
  
 
  
  
  display line numbers in gutter
  Submitted by 
xlinuks on 
Saturday, 17 November, 2007 - 13:41
Hi!
I'm trying to set (programmatically) jEdit to display the line numbers at startup (These only appear if one presses Ctrl+E+T, jEdit doesn't seem to remember whether showing line numbers was turned on or off last time).
I think I have to tinker with the class Gutter.java from package org.gjt.sp.jedit.textarea
The method Gutter.setExpanded( true ); (I've put it in different locations) doesn't seem to work.
Does anybody have any idea what I'm doing wrong?
  
 
  
  
  Creating edit modes
  Submitted by 
OBI_Ron on 
Monday, 19 November, 2007 - 21:56
Hello Everyone,
I would like to create an edit mode for a specific file type / extension = igs.  However, the file type has the following as the first line:
Because of this (I think), the syntax highlighting is taken from xml.xml, and ignores my igs.xml.  Is there a way to force the file to use the igs.xml?  Or will I have to modify the xml.xml?
If I do need to modify the xml.xml, is it best to use a new ruleset vs modifying an existing one?
Thanks in advance!
  
 
  
  
  Creating edit modes
  Submitted by 
OBI_Ron on 
Monday, 19 November, 2007 - 22:01
Hello Everyone,
I would like to create an edit mode for a specific file type / extension = igs.  However, the file type has the following as the first line:
Because of this (I think), the syntax highlighting is taken from xml.xml, and ignores my igs.xml.  Is there a way to force the file to use the igs.xml?  Or will I have to modify the xml.xml?
If I do need to modify the xml.xml, is it best to use a new ruleset vs modifying an existing one?
Thanks in advance!
  
 
  
  
  How to use SearchAndReplace in a loop?
  Submitted by 
tvojeho on 
Wednesday, 21 November, 2007 - 16:59
Hello,
I have been using jEdit for a few months now, and it is an awesome editor. I have written a few macros, but I do not know Beanshell very well and now I am stumped.
I want to write a macro to correct some words using SearchAndReplace command. I would like to be able to define the words to be searched and replaced, and then to run a loop, where the replacements happen. I am vaguely aware of things such as arrays and maps, and I think in my case I am going to have to use one of those, but I don't know where to begin.
This is an example of how I want it to work (just a concept, not a working code):
  //Define search and replace pairs
searchReplacePairs[] = ("thats","that's",
                                  "lets","let's"
                                  "...","...");
  //Grab each pair and perform replace
Loop searchReplacePairs
  {
  SearchAndReplace.setSearchString(textToSearch);
  SearchAndReplace.setReplaceString(textToReplace);
  SearchAndReplace.setBeanShellReplace(false);
  SearchAndReplace.setIgnoreCase(true);
  SearchAndReplace.setRegexp(true);
  SearchAndReplace.setSearchFileSet(new CurrentBufferSet());
  SearchAndReplace.replaceAll(view);
  }
As you can see, I do not know how to define the array, then how to parse it to get the textToSearch/textToReplace pair and process it in the loop. Any help would be welcome.
Thanks, tvojeho
  
 
  
  
  Missing entry for Console in Global Options
  Submitted by 
hotcore on 
Thursday, 22 November, 2007 - 19:26
Hello,
i created a command which i am able to run using Console.
Now i wish to associate that command with "Compile current buffer".
The documentation for the Console plugin says:
"Commandos can be associated with edit modes in the Console>Compile & Run pane of the Global Options dialog box.".
However, i cannot find an entry "Console" and "Compile & Run" in "Global Options" panel.
Any ideas?
TIA,
   Arie
  
 
  
  
  Key Command to Move From Console to Text Area
  Submitted by 
cpsmusic on 
Thursday, 22 November, 2007 - 23:56
Hi,
Is there a key command that moves the caret from the console back to the text area?
Cheers,
Chris
  
 
  
  
  Printing fails with a Beanshell error
  Submitted by 
cherax on 
Friday, 23 November, 2007 - 05:28
When I attempt to print a text file, I get a long Beanshell error (and no printing) that starts with:
java.lang.NullPointerException: null attribute
	at sun.print.IPPPrintService.isAttributeValueSupported(IPPPrintService.java:1100)
	at sun.print.ServiceDialog$OrientationPanel.updateInfo(ServiceDialog.java:2092)
	etc. etc. etc.
	
Checking the "use old printing API" doesn't help.
This happens with jEdit 4.2 stable and with 4.3pre11, and with java 5 and 6. I'm using Kubuntu 7.10.
Any ideas?
  
 
  
  
  Nautilus (Nautilus.jedit-scheme v0.9 by Giger)
  Submitted by 
Giger on 
Friday, 23 November, 2007 - 12:27
Similar to native Windows XP Brick color scheme.
  
 
  
  
  lightweight text editor jar?
  Submitted by 
boardtc on 
Friday, 23 November, 2007 - 15:25
I've never used JEdit and am relatively new to the Java community, so please be gentle 

I need to provide a very basic text editor in my swing app. I don't think a commercial app would be allowed to distribute JEdit is my understanding but anyway the distribution footprint is likely too large for my needs...
Rather than reinventing the wheel are there any freely available fine tuned lightweight editors available in a jar that I can use for this purpose?
Thanks,
Tom.
  
  
  maintaining or merging the xrefactory plugin
  Submitted by 
keeleyt83 on 
Monday, 26 November, 2007 - 17:39
Hi all,
I was wondering if anyone here had used the xrefactory plugin? Its got some features that greatly surpass that of the javasidekick and projectviewer combination. The only problem is that its not currently being maintained.
Now I was thinking that maybe I could get some help attempting to update it to work with the current version of jedit, with the ultimate goal of maybe being merged into the javasidekick. What do you all think? I think that if we let the xrefactory plugin die, it will be a great loss for the community. With this plugin, jedit becomes a truly complete lightweight java environment. We need this. Is anyone interesting in helping me?
  
 
  
  
  Dark Blue Colorful (Dark_Blue_Colorful_v0.4.jedit-scheme v0.4 by Tuomas Kareinen)
  Submitted by 
tuomas on 
Wednesday, 28 November, 2007 - 18:28
A dark blue syntax scheme. This scheme is more colorful than the dark blue scheme supplied with Editor Scheme plugin.
    
  
  
  4.3pre11, Vista, jre1.6, -reuseview argument not working
  Submitted by 
TimMagee on 
Thursday, 29 November, 2007 - 21:55
Hi,
I've recently installed 4.3pre11 on Windows Vista and I'm having trouble getting any play from -reuseview.
Previously I've used 4.1, then 4.2 + Ollie R's jEditLauncher to achieve the same effect, but this time I thought I'd brace myself and get jEdit using a single view without resorting to jEditLauncher.  I don't seem to be able to do it though.  I can see on the forum that other people have succeeded, which inspires hope.
My use case is:
  open Windows Explorer.
  navigate to a folder with some text files in it
  select two text files
  right-click the selection and choose 'Open with jEdit'
  BAM - two jEdit windows.
jEdit server is set up to run on startup, and is running during the above use case:
"C:\Program Files\Java\jre1.6.0_02\bin\javaw.exe" -Xms64M -Xmx192M -jar "C:\Program Files\jEdit\jedit.jar" -reuseview -background -nogui
(when first installed the -reuseview option wasn't there, I added it in a forlorn attempt to circumvent the problem).
The 'Open with jEdit' command associated with '*' in the registry under HKCR looks like:
[HKEY_CLASSES_ROOT\*\shell\Open with jEdit\Command]
@="\"C:\\Program Files\\Java\\jre1.6.0_02\\bin\\javaw.exe\" -Xms64M -Xmx192M -jar \"C:\\Program Files\\jEdit\\jedit.jar\" -reuseview \"%1\""
(this is as installed).
Can anyone help?
Cheers,
Tim
  
 
  
  
  Creating a Console command to run in the background
  Submitted by 
ntbenari on 
Monday, 10 December, 2007 - 07:08
I'd like a Console command to run in the background.
If I enter & at the end of the line within the Console
window it works, but I get parse errors when I try to add
it in the Commando xml file.
I've tried:
        buf.append('&');
        buf.append('&&');
        buf.append('\&');
and every other escape I can think of ... but no luck.
Thanks
Moti
  
 
  
  
  sftp connection dialogue box problems
  Submitted by 
andersos on 
Friday, 14 December, 2007 - 09:34
I have some problems with this on Debian (lenny), KDE, Java 1.6.0_02. 
1. When I try to connect from File Browser/Plugins/FTP the connection dialogue box isn't shown. (Same for both FTP and SFTP.)
2. Strange problem when switching to a session that contains remote (sftp) files. The connection dialogue box appears to have focus, but It's impossible to edit text in it. Clicking button works ok, so if I previously chose "save password" I can connect by clicking Ok button. 
Connecting by choosing remote site from Favorites works totally ok.