Changing background color
Submitted by
mvermand on
Friday, 22 September, 2006 - 14:46
Hi,
I wich to change the background color of a TextArea when the buffer is readonly.
I can't figure out how to do this...
Setting
pView.getTextArea().setBackground(pColor) results in nothing.
pView.getTextArea().getPainter().setBackground(pcolor) paints every open textArea.
How do I change the background of a single TextArea?
Thanks!
change buffer order
Submitted by
nowad3 on
Sunday, 24 September, 2006 - 13:18
Hi! I have installed the plugin BufferTabs. Is there generally a posibility, when there are several files open, to change the order of this buffer tabs?
greets nowad
[SuperAbbrevs] Delete groups
Submitted by
kochka on
Sunday, 24 September, 2006 - 13:59
Hi
First, thanks a lot for this great plugin !
The only thing i've not found into the plugin is the ability to remove unwanted groups.
Example :
belongs_to :${1:object}, :class_name => "${2:ClassName}", :foreign_key => "${3:foreign_key}_id"$end
In this template, most of time I need only the first var group. I know I can bind all templates I need but It make a lot of shortcuts to memorize.
It would be great to have the ability to tab on a var and remove the group with a binded key :
belongs_to :${1:object}$[, :class_name => "${2:ClassName}"]$[, :foreign_key => "${3:foreign_key}_id"]$end
When I tab to go on $2, I can remove all the group ', :class_name => "${2:ClassName}"' with a binded key.
It can be usefull also for things like "if then else end", cause I need to make different shorcuts with one for the "else" case, and only one could be done with such a system.
I hope you have understood what I mean
Thanks a lot !
Changing color for one language in mixed-mode ASP page?
Submitted by
irkregent on
Monday, 25 September, 2006 - 14:21
I'm new to jEdit and just love how its code-folding works in ASP pages (both the VBScript and the HTML can be folded). But there's one thing I'd like to have that would make the two languages easier to differentiate:
How would I specify a different background color for VBScript in an ASP page?
Should we close this foum to new posts?
Submitted by
AlanEzust on
Tuesday, 26 September, 2006 - 04:48
I'm sure there are valuable discussions in this forum, so I think it should stay here for historical purposes, but all new feature requests should be posted to the sourceforge.net feature requests tracker, and further, any important ones that are posted here should also be moved there and given a unique ID, which can be closed when the feature is actually implemented. Don't you agree, vampire?
Expanding Syntax Highlighter
Submitted by
spodhajecki on
Tuesday, 26 September, 2006 - 14:29
I am having some trouble expanding the syntax highlighter within jedit. I have changed xmode .dtd , token.java to reflect adding 4 new tokens. However I believe that I am missing something somewhere as the syntax highlighter pane under global options is empty when I execute the new jar. Any help would be appreciated.
Stephen Podhajecki.
previous date
Submitted by
char_skd1 on
Wednesday, 27 September, 2006 - 03:29
I was wondering if anyone can help me figure out how to modify the insert date macro to give me the date + or - the current day.
example: text here (date here) more copy here.
Thanks for any help.
Can't resize jEdit window anymore
Submitted by
stupor mundi on
Thursday, 28 September, 2006 - 16:26
Hi All
I have a really dumb problem, I can already see the solution must be a simple switch somewhere, but can't find it.
After installing jEdit 4.2final on Windows (corporate environment, old Java version 1.3), I was initially able to change the window size in the usual way. Must have inadvertedly flicked some interface switch, now it always stays maximized, no matter how many times I toggle the "maximize/restore down" button in the window corner.
Anyone know how to switch it back?
CodeBrowser: Different tree presentations
Submitted by
shlomy on
Thursday, 28 September, 2006 - 21:47
Hi,
I'd like to add the following features to the CodeBrowser plugin:
1. An option to show tags with their namespace (i.e. classes, structs, ...) instead of the plain tag names - useful mostly for OO languages (C++, Java, ...). For example, if a file "a.cpp" contains functions "void A:f()" and "void B:f()", you will see "A:f()" and "B:f()" in the tree instead of two undistinguishable "f()" nodes. What do you think?
One of the questions regarding this feature is what to do with the right-click menu operations: Insert, Hypersearch, Copy, ... when the namespace option is used. Should these work on the namespace-qualified tag or continue to work on the plain tag name?
2. An option to have the tags grouped under their namespace, instead of under their tag type ("Function", "Variable", "Class", .. ), and an icon for each tag that specifies its type. Such a presentation of the tree would make it look more or less like the "Outline" view in eclipse. I think such a presentation may be more useful than the current.
At a later stage, the CodeBrowser tree can become completely customizable using an XML configuration file that will map "ctags" information into tree node strings and icons.
Please tell me what you think.
Thanks,
Shlomy
Want to turn of quote/bracket autocompletion.
Submitted by
zenlinux on
Saturday, 30 September, 2006 - 22:34
I can't seem to find the configuration options to disable the auto-completion of quotes and parenthesis/brackets. I find it often creates the closing character at the wrong times when I'm editing. Can anyone point me to where I can change that option?
Thanks,
Scott
JEdit as external editor in WinSCP
Submitted by
JonathanNil on
Monday, 2 October, 2006 - 15:26
I use JEdit on Windows. For software that let's you set an external editor 'helper', I like to use JEdit, but frequently have trouble figuring out how.
In particular, I'd really like to use it with WinSCP. Can anyone give me instructions on how to do it for WinSCP? Or any general tips or instructions for doing this generally on windows with jedit?
[The fact that it's a java app instead of a normal .exe is what is at the root of the problem, I guess.]
Probleme with AntFarm
Submitted by
Manil on
Tuesday, 3 October, 2006 - 16:07
Hi,
I am using AntFarm to compile CodeBrowser and i get the following error, it seems that ant is trying to compile with jdk 1.4 and i have 1.5 installed on my computer, I checked in my path and classpath and i have nothing that mention jdk 1.4, i never get it installed on my computer...Anyone have any idea??
C:\Program Files\jEdit 4.3pre6\CodeBrowser\trunk\com\bitart\codebrowser\CBLeaf.java:47: cannot access javax.swing.tree.TreeNode
bad class file: c:\program files\java\jre1.5.0_08\lib\rt.jar(javax/swing/tree/TreeNode.class)
class file has wrong version 49.0, should be 48.0
Please remove or make sure it appears in the correct subdirectory of the classpath.
import javax.swing.tree.TreeNode;
can't reference schema using XML catalogs
Submitted by
kefl on
Tuesday, 3 October, 2006 - 18:51
I'm having trouble getting the XML plugin to use an XML catalog to locate the schema referenced by my document. Can anybody help? Assuming all three documents (document to be edited, referenced schema and XML catalog) are in the same folder, I would expect the following to work:
root element of edited document:
<Ace
xmlns="http://www.birdstep.com/xml/schemas/acedb"
xsi:schemaLocation="http://www.birdstep.com/xml/schemas/acedb http://www.birdstep.com/xml/schemas/acedb.xsd"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/>
catalog element in catalog document:
<catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog" prefer="public">
<public publicId="http://www.birdstep.com/xml/schemas/acedb" uri="acedb.xsd"/>
</catalog>
If http://www.birdstep.com/xml/schemas/acedb.xsd is not available, I would expect the editor to look up http://www.birdstep.com/xml/schemas/acedb in the catalog and so find acedb.xsd in the current folder.
What actually happens is that the editor returns HTTP 403. I've tried endless variations on the above setup, all with no luck...
PS. I have added my catalog to the list of catalogs in the XML plug-in's options.
jEdit is unbearably slow
Submitted by
GCZFFL on
Tuesday, 3 October, 2006 - 19:41
Newbie to jEdit here. Love what I see so far, but can't help but notice that it runs unbearably slow compared to other text editors. I'm talking about something in the realm of a two-second pause after the down arrow is pressed before the cursor moves down a line.
Using Windows XP Professional. Yes, I tried rebooting.
Ideas? Thanks in advance!
Joe
(X)HTML page template (xhtml page.vm v1.0 by De Franciscis Dimitri)
Submitted by
megadix on
Wednesday, 4 October, 2006 - 08:42
(X)HTML page template, with prompts for title, encoding, JS and stylesheet
HTML table template (html TABLE.vm v1.0 by De Franciscis Dimitri)
Submitted by
megadix on
Wednesday, 4 October, 2006 - 08:44
HTML table template with prompts for columns, rows, headers
HTML unordered list (html_UL.vm v1.0 by De Franciscis Dimitri)
Submitted by
megadix on
Wednesday, 4 October, 2006 - 08:47
HTML unordered list with prompt for number of items
HTML ordered list template (html_OL.vm v1.0 by De Franciscis Dimitri)
Submitted by
megadix on
Wednesday, 4 October, 2006 - 08:47
HTML ordered list template with prompt for number of items
Snippet Functionality
Submitted by
kemitchell on
Friday, 6 October, 2006 - 06:54
After being much inspired by Sune Simonsen's wonderful SuperAbbrevs, i decided i would try my hand at coding my take on the "Snippets" concept which seems to have become so popular (and expensive... trendy... dangerous? ;-P ) recently in light of the public's adoration for textmate and all things supernaturally shiny.
https://webspace.utexas.edu/kem642/www/Snippets_SRC.zip
i'm posting the code here in hopes that if i completely run out of time it will at least be available for posterity, BUT MORE OPTIMISTICALLY on the chance that one of you might take a brief look at it and point out where i might be going wrong api-wise, or where i've taken the decidedly more difficult path. For one things, my use of BufferChangeListeners seems to have become deprecated. Updates... the devil take them!
i'll likely hack away as time (and school) permit. I'll keep you all posted here, assuming this is the proper place to do so... (?)
A few noets:
I am working for compatibility with the current development version (4.3pre6), and have funcitoning (read: not well tested, but it "works for me and my limited imagination" (TM) ) solution for recursive snippets (use them inside of each other!) with end tags via a stack of insertions per buffer. the framework is in place to at least parse templates with named variables (i.e. with the same value), default values, and enumerated field values, but those remain broken for the moment in terms of actual functionality. The method of selection is currently a triggered inline popup which does a running filter and auto-insertion of the last match. Defining new snippets based on input not recognized there is planned, but not currently implemented (the method is called, but it doesn't do anything yet).
currently, the snippets are stored like /%userdir%/.jedit/snippets/%mode%/%name of snippet%.snip
there is no snippet editor or viewer in place (options panel) in place quite yet, but that ought to be trivial to pull off (or at least more straightforward).
the archive includes a buildfile i use to build the jar file when i compile. if you've got ANT and a JDK you shouldn't have any problems if you want to give it a whirl.
it ain't clean, but with a little time, it will ready to go soon enough.
thanks in advance for any help, direction, etc.
dont worry... you'll get thanked again, too!
~K
nested comments
Submitted by
denserMan on
Friday, 6 October, 2006 - 18:17
I have a hard time believing this hasn't been requested but I didn't find a request when I searched.
I would love to have nested comments highlighted. In particular, ColdFusion nested comments. I fiddled with the existing highlighting but couldn't make it work and now it looks like jEdit can't do that anyway.
Thanks!