LaTeX Menu Manager (LaTeX_Menu_Manager.bsh v1.2 by Jakub Holy)
Submitted by
malyvelky on
Monday, 31 January, 2005 - 12:12
When in tex mode create a top-level menu for LaTeX Tools
This macro simplifes the work of people using (La)TeX with jEdit because it makes
the menu of LaTeX Tools available in 1 click instead of 2 - 3.
When a user switches into another buffer it's checked whether it is in the (la)tex mode
and if so LaTeX Tool Plugin's menu is copied to the menu bar next to "Help"
(i.e. a top-most menu is created for it). When the buffer is left the menu is
removed.
The macro could be easily modified for another mode,plugin combination (change the
fields PLUGIN_CLASS and MODES) and with a bit more work it could handle multiple
pairs of modes and plugins.
The macro shall be placed in jEdit startup directory (e.g. /home/me/.jedit/startup/; find it from jEdit: Utilities->Settings Directory->More->startup) to load it automaticaly. If you want to load it manually: 1. Open the macro and in beanshell execute 'eval( textArea.getText() );' or 'source("path/to/macro")' to make the class available 2. In beanshell again execute 'new ModeMenuManager( view );' which will create an instance listening for edit mode changes & setting the menu.
CHANGELOG:
1.1 - show the menu also for the 1st active buffer if it's TeX; so far you need to switch into a non-tex buffer and back
- check that the plugin is available
1.2 - work not only for tex but also for latex mode
LIMITATIONS:
Only one view is supported so far. If there're more requests I'll work out multiple-view support but otherwise I'll leave it as it is.
If you set edit mode of a buffer manually (in buffer options) the macro won't reflect it until you switch into another buffer and back
LINKS:
Donwload the LaTeX Tools plugin: http://plugins.jedit.org/plugins/?LaTeXTools
You should also try a pretty useful latex macro from http://jfmagni.free.fr/doc/help.html or http://community.jedit.org/?q=filestore/download/1830 (Files>Macros)
WARNING:
LaTeX Tools v. 0.5.1 only function with the mode 'tex'. If the buffer mode is 'latex' the plugin believes it's not a TeX file and so e.g. the Structure Browser doesn't work. i sumitted a bug for it.
You may correct it yourself - see the plugin bug 1396913 (http://sourceforge.net/tracker/index.php?func=detail&aid=1396913&group_id=588&atid=565475).
Ctrl + Shift + O doesn't work for changing paragraph direction
Submitted by Anonymous on Monday, 31 January, 2005 - 14:47
In normal Java applications one is supposed to be able to change paragraph direction (from LTR to RTL) with Ctrl + Shift + O, but this combination does nothing in jEdit.
RE in modes
Submitted by Anonymous on Monday, 31 January, 2005 - 15:42
Hi,
I want to highlight [a-zA-Z]+Exception ...
Splitpane Down (splitpane_down.bsh v1.0 by Claudio Vicari)
Submitted by
cvicari on
Monday, 31 January, 2005 - 16:47
Moves the main split pane in the active view towards the bottom, if vertical, or to the right, if horizontal. Useful if called via a keyboard shortcut, in order to easily hide/show file portions.
Splitpane Up (splitpane_up.bsh v1.0 by Claudio Vicari)
Submitted by
cvicari on
Monday, 31 January, 2005 - 16:49
Moves the main split pane in the active view towards the top, if vertical, or the left, if horizontal.
Compare files
Submitted by Anonymous on Tuesday, 1 February, 2005 - 01:40
I have now installed jedit an it's great

But how do I compare files like I used to do in UltraEdit?
Henning
FTP using sftp public/private key authentication
Submitted by Anonymous on Tuesday, 1 February, 2005 - 16:51
I see that in the cvs repository there was some updates to the FTP plugin to allow for public/private key authentication.
http://cvs.sourceforge.net/viewcvs.py/jedit/plugins/FTP/
I don't know the first thing about building from the source, but I would like to use this feature, as I LOVE jedit. Could someone either point me to a dummies guide to building from source (on a windows box), or tell me where I can find this complied? Thanks so much for a wonderful program, I look forward to it just getting better.
-hanz
space and tab indicator
Submitted by
ccapeng on
Tuesday, 1 February, 2005 - 19:57
I use homesite. When I click the "q" in the gutter, I can see those indicator for tabs, spaces, and enter.
Are there any similar features in jedit?
I know there are tabs to spaces and spaces to tabs converter.
Restore dialog window size?
Submitted by Anonymous on Tuesday, 1 February, 2005 - 21:39
The dialogs that opens when I click on the memory indicator int he status bar as well as error notices only show the title bar of the window and i cannot resize them. How can i restore the default size for those dialogs?
Using 4.2final on windows2000
thanks in advance
Daiwai
Keybindings Save, Print...
Submitted by Anonymous on Tuesday, 1 February, 2005 - 22:05
Hey,
would it be possible to open/save the whole keybinding and to print it?
then we would quickly have emacs, vi, etc. keybindings!
and printing shortcuts is good for people not yet accustomed to them.
maybe some macro can do the job?
Help, my plugin creates two instances of jedit
Submitted by
colinc on
Wednesday, 2 February, 2005 - 00:13
I am having some strange problems trying to get my plugin to work.
It runs OK, but for some reason when you restart jedit the plugin causes two instances of jedit two run; one with the plugin running and docked, the other without.
The plugin is set to defer on startup , but that seems to be ignored.
I do the set up in the constructor for the main class. From what I can see in the docs it looks like I should actually be doing the startup from start() and stop() methods in the mainPlugin.class . But I'm not certain how that class is going to be able to find the main class (ie. the dockable window). Or even if that is what's causing my problems.
I'm not sure what I'm doing wrong, any ideas greatly appreciated!
Thanks, Colin
search on a php var
Submitted by Anonymous on Wednesday, 2 February, 2005 - 08:57
hello all,
i ve got problem to write the topic ( because of the echo(''); ) so here is a link where i explain it:
http://lycoch.free.fr/macro.htm
thanks
Method Follow
Submitted by Anonymous on Wednesday, 2 February, 2005 - 23:01
Is there a way to "goto" a method from another class. For examle in the foo class below is the a way to automagically click on b.name and have it open the Bar.java file and position at the name method?
public void something() {
Bar b = new Bar();
String s = b.name();
}
file premission
Submitted by Anonymous on Thursday, 3 February, 2005 - 01:20
when I save file in my sambar drive the permission always change to 700, but I am writing php, so every time I test I need to chmod again. How to solve this problem
file premission
Submitted by Anonymous on Thursday, 3 February, 2005 - 01:20
when I save file in my sambar drive the permission always change to 700, but I am writing php, so every time I test I need to chmod again. How to solve this problem
file premission
Submitted by Anonymous on Thursday, 3 February, 2005 - 01:23
when I save file in my sambar drive the permission always change to 700, but I am writing php, so every time I test I need to chmod again. How to solve this problem
question about jedit setting
Submitted by Anonymous on Thursday, 3 February, 2005 - 08:21
if I want to clone my jedit setting to other computer, which files should I copy? (Including setting for plugin)
thanks
question about jedit setting
Submitted by Anonymous on Thursday, 3 February, 2005 - 08:22
if I want to clone my jedit setting to other computer, which files should I copy? (Including setting for plugin)
thanks
question about jedit setting
Submitted by Anonymous on Thursday, 3 February, 2005 - 08:22
if I want to clone my jedit setting to other computer, which files should I copy? (Including setting for plugin)
thanks
question about jedit setting
Submitted by Anonymous on Thursday, 3 February, 2005 - 08:22
if I want to clone my jedit setting to other computer, which files should I copy? (Including setting for plugin)
thanks