LogViewer 0.6 beta (LogViewer.jar v0.6 by Dale Anson)
Submitted by
daleanson on
Thursday, 3 November, 2005 - 20:51
I've made a bunch of changes to LogViewer to better support parsing of log files so irrelevant entries can be skipped, and only relevant portions of the log file displayed. I'm still working on the documentation, but the example xml configuration file in the help for the plugin has fairly detailed explanations. Please post feedback on the jEdit users list.
Printing folded text
Submitted by
jcaponi on
Friday, 4 November, 2005 - 18:09
Is there a way to print just what's displayed on screen when working with folded text?, rather than the complete document?
Inserting Unicode chars
Submitted by
McSwell on
Monday, 7 November, 2005 - 15:52
How do I insert a Unicode character, if I know the hex code for it?
For example, U+00E7 (= c cedilla), or U+0BB1 (in the Tamil range).
Things I have tried:
(1) Entering the Unicode codes (e.g. \U+00E7) into the replace field of the find-and-replace dlg. (IMHO, this is the way it *ought* to work; it's what you do in Visual Slickedit, for example.) But instead, this just gives me the string "\U+00E7" in my buffer.
(2) Copying and pasting from the Unicode consortium charts. But the charts are in PDF, and don't seem to support cut-and-paste. (I'm aware of Unibook, a wonderful tool, but for the moment I can't use that, for reasons I won't go into...)
(3) Modifying the code at http://community.jedit.org/?q=node/view/2115. Specifically, I tried doing a find/replace where the replace string is
(char)Integer.parseInt(0xe7,16)
(and variants thereof); but I get an error msg
Static method parseInt( int, int ) not found in
class'java.lang.Integer
Not being a Java programmer, I'm not sure what to do with this error msg. I suppose I need to install some Java code or other, but I'd really rather not do that (not to mention that this is a *really* clumsy way to do find-and-replace).
(4) Macros | Misc | HexConvert, entering the string
0xE7
(and variants...). But I get the error msg
0xE7 is not a valid hex string.
(If that isn't valid, what is?!!)
(5) The CharacterMap plugin. When I choose the 8859-1 encoding in this plugin's dlg box, I can paste in the c-cedilla (which fortunately happens to be the same hex code as the Unicode c-cedilla). But when I choose UTF-8 encoding, it only gives me the Basic Latin box, and trying to paste in s.t. from the high end of that gives me U+FFFD. And of course Tamil characters (etc.) are not in the Basic Latin part of Unicode.
So how do I enter arbitrary Unicode characters in jEdit? Please note that I'm not trying to set up a keyboard for this, I just have to enter a single character from time to time (or do find-and-replace, where either the 'find' or the 'replace' field contains a Unicode char).
Printing problem: characters run together
Submitted by
mfridman on
Monday, 7 November, 2005 - 21:32
I am running JEdit 4.2 on Windows XP. If I try to print a C formatted file, some of the characters of the output run together. For example, ((x)<0)looks like the < is overstriking the 0.
Is something wrong with my ocnfiguration, or is this a bug?
ToggleHeaderSource.bsh 0.4 (Toggle_Header_Source.bsh v0.4 by Alan Ezust)
Submitted by
AlanEzust on
Wednesday, 9 November, 2005 - 15:09
A jedit beanshell macro that toggles your current buffer
between the header file (.h) and the source file (.cpp).
Enables you to switch the current text
buffer between c++ header and sourcecode
file. If the file does not already exist, it opens a buffer
of that name for you (!).
Version 0.4 also works with other filename extensions (.c, .cxx).
Scheme indenting
Submitted by
dhracer on
Thursday, 10 November, 2005 - 11:43
Hi there,
I've been using jedit for a short while now for various languages and on the whole I am very pleased but there is one thing that bugs the hell out of me. If I am writing scheme then it indents the closing bracket for me, but I don't want this. Is there any way to change it?
Example (the # characters represent spaces, current operation is first - desired is second):
(if (= i 10)
##(begin
####(do something)
####)
##)
what I want is:
(if (= i 10)
##(begin
####(do something)
##)
)
Thanks in advance!
How to shortcut temporary splits/unsplits?
Submitted by
davmay on
Thursday, 10 November, 2005 - 17:25
When the user splits a view, little wedges pointing up, down, left or right are displayed at the upper left-hand corner of the panes. These are very handy in expanding the current pane and then restoring it to its previous configuration. I would like to create keyboard shortcuts for these useful functions, but I haven't been able to identify the commands by looking in the shortcuts list or in the API list. Can anyone tell me what these commands are called, and if they can be activated by a user shortcut?
How to shortcut temporary splits/unsplits?
Submitted by
davmay on
Thursday, 10 November, 2005 - 17:26
When the user splits a view, little wedges pointing up, down, left or right are displayed at the upper left-hand corner of the panes. These are very handy in expanding the current pane and then restoring it to its previous configuration. I would like to create keyboard shortcuts for these useful functions, but I haven't been able to identify the commands by looking in the shortcuts list or in the API list. Can anyone tell me what these commands are called, and if they can be activated by a user shortcut?
Change from 2 monitors to 1 monitor will result in an hidden search window (still on mon 2)
Submitted by
Augur on
Thursday, 10 November, 2005 - 20:20
Hi.
If I deactivate my second monitor in XP the search window still stays on the deactivated screen. How can I get it back without the use of an second monitor?
THX, Nils
Macros encoding
Submitted by
jojaba on
Sunday, 13 November, 2005 - 07:10
Hello,
I'm translating jEdit 4.2 in french (see the link in my signature).
someone use my translation on unbutu (Linux) and said that the accentuated caracters didn't display correctly especially the title of the *.bsh files (macros) and the tips. I do think that's a problem of encoding.
How do I resolve this problem ?
Thanks a lot.
How to recover original abbrevs file?
Submitted by
davmay on
Sunday, 13 November, 2005 - 19:14
I am running jEdit 4.2 on Windows XP. I have made changes to the abbrevs file and now I would like to recover a copy of the default abbrevs file as it came with the original jEdit source files. I'm not familiar with the syntax for working with Java files -- can someone provide me with a command-line for extracting the original abbrevs file from the source files, or show me some other way of doing this? Thanks.
Native file dialog selector
Submitted by
hakimm on
Sunday, 13 November, 2005 - 20:06
Hello
jEdit is great, but is there a switch somewhere to use a native OS file selector instead of the default java file selector ? I know the default java one can be extended beyond what a native selector could do, but right now the default in 4.2 is quite restricted, for example it doesn't support right-click contextual menus.
thanks
haki
autodetect encoding for html file
Submitted by
neoedmund on
Tuesday, 15 November, 2005 - 09:27
in fact i have made one, if you think useful you can add this feature to new jedit versions.
it find text like "content="text/html; charset=xxxxxx"" at the begin of the html.
[code]
BufferIORequest.java
/**
* Tries to detect if the stream is gzipped, and if it has an encoding
* specified with an XML PI.
*/
private Reader autodetect(InputStream in) throws IOException {
in = new BufferedInputStream(in);
String encoding = buffer.getStringProperty(Buffer.ENCODING);
if (!in.markSupported())
Log.log(Log.WARNING, this, "Mark not supported: " + in);
else if (buffer.getBooleanProperty(Buffer.ENCODING_AUTODETECT)) {
{// neoe add: detect html's encoding
String enc = getHtmlEncoding(in);
if (enc != null && MiscUtilities.isSupportedEncoding(enc)) {
buffer.setProperty(Buffer.ENCODING, enc);
return new InputStreamReader(in, enc);
}
}
....
(original lines)
/**add by neoedmund*/
private String getHtmlEncoding(InputStream in) throws IOException {
String enc = null;
String key = "charset=";
int bufSize=1000;
byte[] buf = new byte[bufSize];
in.mark(bufSize);
int len;
if ((len = in.read(buf,0,bufSize)) >0) {
String line=new String(buf,0,len);
int p1 = line.indexOf(key);
if (p1 >= 0) {
int p2 = p1 + key.length();
p1 += key.length();
if (line.charAt(p1) == '\'' || line.charAt(p1) == '"') {
p1++;
}
while (p2 < line.length()
&& "'\" >;,.".indexOf(line.charAt(p2)) < 0) {
p2++;
}
if (p2 <= line.length()) {
enc = line.substring(p1, p2);
}
}
}
in.reset();
return enc;
}
[/code]
jedit doesnt work!!
Submitted by
asiam on
Wednesday, 16 November, 2005 - 04:19
hi
i installed both of the java-based and windows installer.
no problem appeared when installing both of them but
when i tried to open JEdit it didnt worked.
when i try to open the JE file, an icon appears on my desktop and nothing happens after that.
could anyone help me pls about this issue.!!
i tried to restart my computer but nothing changed!!
jedit doesnt work!!
Submitted by
asiam on
Wednesday, 16 November, 2005 - 04:19
hi
i installed both of the java-based and windows installer.
no problem appeared when installing both of them but
when i tried to open JEdit it didnt worked.
when i try to open the JE file, an icon appears on my desktop and nothing happens after that.
could anyone help me pls about this issue.!!
i tried to restart my computer but nothing changed!!
Trouble with templates plugin
Submitted by
Richard_UICI on
Wednesday, 16 November, 2005 - 20:20
I have downloaded the templates plugin, but it refuses to retrieve a template from the template tree. Whenever I try, I just get a dialog box with a red stopsign in it and an OK button, and nothing else. This happens with even the simplest of templates -- just a line or two of text with no directives.
Otherwise it seems partially functional -- for instance, I can save templates and view them in the template tree. I'm using the latest stable build of JEdit, 4.2, and Java runtime 1.5.
Anyone have any ideas?
Syntax highlighting for YACC ( Bison ) grammar files. A small patch. (yacc.xml vv1.0.1 by Brad Mace)
Submitted by
Siver on
Thursday, 17 November, 2005 - 09:31
Syntax highlighting for YACC ( Bison ) grammar files. Now it's compartible with jEdit 4.2f
Submitted by Anonymous on Thursday, 1 January, 1970 - 00:00
n/a
Copy to clipboard from console
Submitted by
gerke.kok on
Thursday, 17 November, 2005 - 15:17
It would be handy when I could copy text from the console-plugin to the clipboard. Somehow this is not possible at the moment.
(I'm using Windows XP and JVM 1.4.xxx)
can't run
Submitted by
akurashy on
Friday, 18 November, 2005 - 06:19
GC Warning: Out of Memory! Returning NIL!
GC Warning: Out of Memory! Returning NIL!
GC Warning: Out of Memory! Returning NIL!
GC Warning: Out of Memory! Returning NIL!
GC Warning: Out of Memory! Returning NIL!
GC Warning: Out of Memory! Returning NIL!
GC Warning: Out of Memory! Returning NIL!
GC Warning: Out of Memory! Returning NIL!
GC Warning: Out of Memory! Returning NIL!
GC Warning: Out of Memory! Returning NIL!
GC Warning: Out of Memory! Returning NIL!
Segmentation fault