newbie Q: how to Run Buffer using Python?
Submitted by
midtoad on
Thursday, 9 March, 2006 - 00:40
When I try to "run this buffer", I get an error saying "there is no interpreter associated with this buffer. You can specify interpreters on a mode-specific basis in the Utilities -> Global Options dialog box."
It's certainly helpful to get a suggestion in a case like this. But there is NO place in the Global Option s that I can find where I can specify a Python interpreter.
What's the best way to execute a python script with one click of a toolbar icon?
thanks
S
Adding new web buttons
Submitted by
NickW on
Thursday, 9 March, 2006 - 00:49
Hi All,
I recently created a couple of new web buttons (based on an existing one) but when I tried to send it to "krisk@acps.org.au" it was returned with an unknown email address error. Anybody got any ideas of how I can submit the new web buttons?
Nick
Clipper Plugin Bug....
I seem to be having a problem with the clipper plugin...
When I go into the plugin options, all it has is a place to select a directory.
I also can't find any of the libraries. What I want to do it edit and make my own library, to set up templates and long strings that I end up copying a lot, instead of having two things open and doing copy paste all the time.
What do I do?
Thanks in advance...
Make bookmarklet (Make_Bookmarklet.bsh v1.0 by d delvin johnson)
Submitted by
delvinj on
Saturday, 11 March, 2006 - 01:38
Make_Bookmarklet.bsh -- removes the newlines and tabs in the current buffer, making the text appropriate for use as a javascript bookmarklet.
remote/local views?
Submitted by
szymek on
Sunday, 12 March, 2006 - 11:15
Hi!
I'm using dreamweaver most of the time, but now i try to learn ruby on rails, so i decided to give jedit a try.
Is there a plugin that allows to specify a local folder and a remote ftp server for a single project, switch between them and upload/download files from/to both servers?
ConsolePlugin: marks errors on the wrong line (when compiling or running make)
Submitted by
DanielKabs on
Monday, 13 March, 2006 - 11:46
I recently installed JEdit 4.3pre3 and of course the important
ConsolePlugin. Together with ErrorListPlugin, compiling my C/C++ programs works like a charm. Except for one point: sometimes when running
make console marks the wrong lines.
E.g. the output looks like:
mkformular.c: In function `add_elementlist':
mkformular.c:994: warning: int format, long unsigned int arg (arg 4)
mkformular.c:994: warning: int format, long int arg (arg 5)
mkformular.c:1007: warning: int format, long int arg (arg 4)
Updating version number in version.c
Compiler Run #2343
Consequently, ErrorListPlugin only mentions two of these three warnings. I don't know whether ErrorList has a problem as with having multiple warnings occuring on the same line.
Anyway, if I paste this output into the Test Area on
Plugin Options > Console > Error Patterns pane of the
Generic error pattern it correctly extracts and displays all three warnings.
My problem now is:
- Why does the test show ok, but the real output not?
- Why does error parsing not work at all when I copy the above text to a file an then run cat file on the console?
Cheers
Daniel
from Germany
Editing HTML: jEdit inserts new lines
Submitted by
vojtec on
Monday, 13 March, 2006 - 14:29
When Im editing HTML page, jEdit automatically adds between every two lines new line...
How can I get rid of it?
Thanks for every tip..
Vojtec
Choose and insert file path and name to hyperlinks
Submitted by
philaweb on
Tuesday, 14 March, 2006 - 12:51
Hi,
I am new to this forum and to JEdit plugin's as well.
Is there a plugin avialable for download with the functionality of choosing and inserting a file path and file name to hyperlinks?
Well, it is the only tedious thing about the plain JEdit version, that I have to type all file paths and names manually.
TIA
Choosing and inserting file path and file name to hyperlinks
Submitted by
philaweb on
Tuesday, 14 March, 2006 - 12:56
Hi,
I am new to this forum and to JEdit plugin's as well.
Is there a plugin avialable for download with the functionality of choosing and inserting a file path and file name to hyperlinks?
Well, it is the only tedious thing about the plain JEdit version, that I have to type all file paths and names manually.
TIA
Project viewer recent version became annoying
Submitted by
bigugga on
Wednesday, 15 March, 2006 - 10:21
Upgraded to newer version of this cool plugin and noticed now behavior. As I switch between open files, project viewer cursor updates its position according to opened file. It becomes very annoying, when working on many files in project (not fit in screen on left side).
Please add some checkbox or smth one may uncheck this "feature"
Thanx a lot for this great plugin!
SearchAndReplace problem
Submitted by
turtlecove on
Wednesday, 15 March, 2006 - 18:57
I am writing a Macro that enables a simple kind of Wiki link in any text file. Basically if I run my macro, it finds the nearest words in [brackets] and uses that as a file name to open. It works well, but I added the feature to jump to an anchor [filename#anchor] and I cannot figure out how to get it to jump to text in a document. Here is what I have:
newbuffer=jEdit.openFile( view, WikiWord);
if (hasAnchor) {
SearchAndReplace.setSearchString(anchor);
SearchAndReplace.find( view, newbuffer, 0, true, false);
}
It behaves very erratically. It always opens the new file ok. But then it sometimes finds the anchor text, but usually does not. I've tried resetting the cursor to the top of the file to make sure it isn't past the anchor text:
view.getTextArea.setCaretPosition(0);
But that didn't help.
Strangely, if I add this:
Macros.message(view, "finding " + anchor);
before the find, it works! I suspect the popup window causes the interface to 'refresh' in some way bringing the newly opened file to some displayed state, as opposed to some open-but-not-yet-displayed-state... but I'm just guessing here...
Any help?
Cannot type in save dialog
Submitted by
scaRFhogg on
Wednesday, 15 March, 2006 - 21:36
Sometimes i cannot type in the "File name" field of the save or save as dialog. Selecting text in the field with the mouse does work. But the input field acts as if it was in "read only" mode. Jedit does not give any error message/exception. Also nothing in the activity log. Restarting jedit usually fixes the problem for the next few saves. This is very annoying.
I'm running jedit 4.3pre3 with java jre 1.5.0_05 on kubuntu breezy badger.
Any suggestions on how to fix this problem appreciated.
Thank you.
Duplicate Selection/Line macros (Duplicate_Selection_Line.bsh v1.0 by Sergey Kojin)
Submitted by
runmen on
Thursday, 16 March, 2006 - 17:17
This is modified version of original Duplicate_Line.bsh that allow duplicate not only lines, but also selection, like in IntelliJ IDEA Ctlr+D (duplicate) feature
Checked for jEdit 4.3.pre3
TSP-mode (tsp.xml v0.0.2)
Submitted by
goebbe on
Thursday, 16 March, 2006 - 20:03
Very basic jedit-mode for TSP (Time Series Processor).
New in 0.0.2: recognise internal variables
By default, this edit-mode is now included in the latest developer versions of Jedit.
What Else In jEdit Will Close A Tag Automatically?
I know the XML plugin will cause jE to close a tag when < / is typed. But I've turned that off. But it's still doing it.
Where else can I look?
C++ fonction declaration to definition (declarationToImplementation.bsh v0.1 by clement)
Submitted by
clement on
Friday, 17 March, 2006 - 13:33
Macro that transform a C++ fonction declaration into a fonction definition. The class name is added according to filename of current buffer. To use, copy the fonction declaration into the .cpp file you want to define the fonction and apply the macro. The semi-colon at end of declaration is expected to be copied and is removed.
Happy coding,
Clément.
Edit Mode-specific Shortcuts (key bindings)
Submitted by
bmc on
Friday, 17 March, 2006 - 18:23
As far as I can tell, from digging through the docs and the API, there's no support for mode-specific key bindings. This feature would be *really* useful.
WikiWord (WikiWord.bsh v1.7 by Peter Theobald)
Submitted by
turtlecove on
Friday, 17 March, 2006 - 18:52
Find the word the cursor is on and open a file by that name.
Can find [Filename in brackets] or wordsSeparatedBySpaces or words-separated-by-tabs.
Can also jump to specific locations within the current file or other files by using text anchors like this: [myfile#this-anchor] or [myfile:this-anchor] or MyFile:This-anchor or MyFile#this-anchor . Anchors are searched for as [this-anchor] or if that isn't found just the anchor text anywhere in the file.
Configuration options can be specified in the text file to use filename patterns and search paths.
I use this to set up a directory full of hyperlinked text. Attach a keyboard shortcut to the macro for quick jumping. I use control-TAB because it's next to control-` (previous file). So I can put the cursor inside a [WikiWord] and bounce back and forth to the file with control-TAB and control-`
New features added in V1.7, 2009-10-19
You can add the directives [path:xyz] or [rpath:xyz] anywhere in the document to set up search paths for documents. For example, the WikiLink [books-wanted.txt] will look in the current directory first, then in each directory in the path. rpath means 'recursive', which will search in that directory and all sub-directories under it.
You can also add the directives [filepattern:xyz] anywhere in the document to set up file name patterns, for example: [books-wanted] with [filepattern:$-notes.txt] will try to open 'books-wanted' and 'books-wanted-notes.txt' in the current directory and any directories in the path set up by [path:] and [rpath:]s. By default the given [WikiWord] itself ($) and WikiWord.txt ($.txt) are found first.
Note: I usually put all of my [path:][rpath:][filepattern:] directives at the end of my file.
Personally, I keep all of my life's information in text files, and I use this to set up indexes, tables of contents, cross-references, etc. between my documents.
I use this as follows: I have a main-index.txt file I always keep open. It has a line for each project I am working on with a WikiLink like this: Human Genome Project: decoding human genome [genome] due 1/15/2008 -and at the bottom of the main-index.txt file I have: [rpath:D:\Docs\Projects][filepattern:project notes $.txt] so it will look in my entire projects tree and find 'project notes genome.txt' when I click on [genome] and hit ctrl-TAB.
(This is my first jEdit macro. Enjoy.)
Magically matching caret on new SideKick Plugin with SideKickTree nodes
Submitted by
mabushadi on
Friday, 17 March, 2006 - 21:52
Hello,
I've been working on a SideKick extension parser (for FOCUS code) and was successful in adding Assets to the SideKick tree using SideKickParsedData. Clicking on the SideKickTree will make the caret jump fine to the right place in the textarea. But I can't get the reverse to happen. I can't click on the code buffer and have the SideKickTree adjust to the right node. Just how do you achieve that magic?
Your guidance is greatly appreciated.
Thanks and regards
problems rebuilding clipper jar
Ok, I followed the directions, made a new clip library, added it to the jar file and all that stuff.
Now, I think my problem is that I just need to rebuild the jar file.
Can someone tell me how to do this. I tried with NetBeans, and the visual basic suite, neither will do it for me.
What am I doing wrong?
Thanks in advance.