jEdit Community - Resources for users of the jEdit Text Editor
Having trouble with whitespace plugin
Submitted by raklet on Sunday, 14 June, 2009 - 20:23
Using jedit 4.3pre16 and java 1.6.0_13 on linux.

When I first installed the whitespace plugin, it wouldn't show any whitespace characters at all. I munged these forums and online until I finally figured out that I needed to install Sun's JDK. After I installed it and restarted jedit, all was well. After a couple weeks of use, I just noticed that whitespace is not showing up again. I don't know exactly when it went away because I wasn't looking for it.

I don't mind figuring out where it went wrong, but I'm not even sure where to look. If someone could point me in the right direction, I would appreciate it.

Thanks
Comment viewing options
Select your preferred way to display the comments and click 'Save settings' to activate your changes.
Maybe You're not aware of the
by Robert Schwenn on Mon, 15/06/2009 - 19:46
Maybe You're not aware of the way the WhiteSpace plugin is working?

That's the way, most of the WhiteSpace plugin's features are applied:
- You can toggle them immediately for the active buffer via plugin menu
- You can set a default for newly opened buffers via plugin options pane

So, changing an option in plugin options pane has no effect for already opened buffers! You have to re-load the buffer after checking this option. Or You can toggle an option by invoking the corresponding action via menu "Plugins -> WhiteSpace.

Robert
 
Default is set to display spa
by raklet on Mon, 15/06/2009 - 20:55
Default is set to display space and tab for all buffers via plugin options pane. Have clicked on actions via menu Plugins->Whitespace and reloaded buffers as well. Whitespace is not being displayed.
 
Do You have Whitespace plugin
by Robert Schwenn on Mon, 15/06/2009 - 22:06
Do You have Whitespace plugin Version 0.9.3 installed?

If so, I would check which display colors are chosen in the plugin options. Then I would try to remove (or at least rename) jedit's settings directory. For that, jEdit (server) don't must be running - in doubt kill the JVM.

Robert
 
Yes, 0.9.3 is installed. I r
by raklet on Mon, 15/06/2009 - 23:45
Yes, 0.9.3 is installed. I renamed the .jedit directory and started over with a fresh jedit. I installed whitespace (and only whitespace). I changed the settings to default, closed jedit, and restarted. Whitespace still does not show.

It is acting like it did when I did not have the JDK installed, but package manager tells me that it is installed. I marked it for reinstallation and then restarted jedit. Still, no love.

How can I check under the hood to make sure whitespace is looking in the right place for java/jdk or that I have java/jdk installed in the correct place for jedit to pick it up?
 
Not sure if it matters, 'caus
by elberry on Tue, 16/06/2009 - 01:01
Not sure if it matters, 'cause usually it affects all of jEdit and not a single plugin, but do you have eye-candy (beryl, compiz) installed, and running?

If so, you might try turning it off and see if that helps.

Any errors that are occurring should appear in the activity log. You might want to tail it as you startup jEdit to see if Whitespace is throwing any exceptions as it's started up.

Learn from the past. Live in the present. Plan for the future.
11101000
Blog
 
I am using compiz fusion. I'
by raklet on Tue, 16/06/2009 - 01:41
I am using compiz fusion. I've turned off all of the effects but still no whitespace. I can't really get rid of compiz altogether or else I won't have a window manager.

I found another post from you about adding "AWT_Toolkit"=MT_Toolkit. I put those lines in /etc/environment and .bashrc but those didn't seem to do anything either. I haven't tried putting it in /usr/bin/jedit.

Here is some more info about the internals

7:50:13 PM [main] [message] Log: When reporting bugs, please include the following information:
7:50:13 PM [main] [message] Log: java.version=1.6.0_13
7:50:13 PM [main] [message] Log: java.vm.version=11.3-b02
7:50:13 PM [main] [message] Log: java.runtime.version=1.6.0_13-b03
7:50:13 PM [main] [message] Log: java.vendor=Sun Microsystems Inc.
7:50:13 PM [main] [message] Log: java.compiler=null
7:50:13 PM [main] [message] Log: os.name=Linux
7:50:13 PM [main] [message] Log: os.version=2.6.28-11-generic
7:50:13 PM [main] [message] Log: os.arch=i386
7:50:13 PM [main] [message] Log: user.home=/home/raklet
7:50:13 PM [main] [message] Log: java.home=/usr/lib/jvm/java-6-sun-1.6.0.13/jre
7:50:13 PM [main] [message] Log: java.class.path=/usr/share/jedit/jedit.jar

Log activity filtered for whitespace

7:50:14 PM [main] [debug] EditBus: PluginUpdate[what=LOADED,exit=false,source=/home/raklet/.jedit/jars/WhiteSpace.jar,class=whitespace.WhiteSpacePlugin]
7:50:14 PM [main] [debug] PluginJAR: Activating whitespace.WhiteSpacePlugin because of startup
7:50:14 PM [main] [debug] PluginJAR: Opening /home/raklet/.jedit/jars/WhiteSpace.jar
7:50:14 PM [main] [debug] EditBus: PluginUpdate[what=ACTIVATED,exit=false,source=/home/raklet/.jedit/jars/WhiteSpace.jar,class=whitespace.WhiteSpacePlugin]
7:53:04 PM [AWT-EventQueue-0] [debug] ActionSet: Loading actions from jeditresource:/WhiteSpace.jar!/actions.xml
 
Hmm. Very weird. What are you
by elberry on Tue, 16/06/2009 - 04:22
Hmm. Very weird. What are your whitespace settings?

Learn from the past. Live in the present. Plan for the future.
11101000
Blog
 
Show spaces by default Show
by raklet on Tue, 16/06/2009 - 04:44
Show spaces by default
Show tabs by default
Show fold guides by default


That's it. Very simple.

And from the properties file.....

white-space.block-color=\#565b5b
white-space.fold-color=\#003366
white-space.show-leading-space-default=true
white-space.show-space-default=true
white-space.show-tab-default=true
white-space.space-color=\#727b84
white-space.tab-color=\#6c92b8
white-space.whitespace-color=\#ff6600
 
Weird..........I guess we can
by raklet on Tue, 16/06/2009 - 12:55
Weird..........I guess we can close this out for now, as it is working.

From the plugin menu, I started enabling every option available. As I got down into the tab section, the whitespace characters showed up and now they are behaving as they should.

Sorry if this was a goose chase. Thanks to everyone for their help.
 
Very odd. I wonder if it was
by elberry on Tue, 16/06/2009 - 17:19
Very odd. I wonder if it was just a simple case of the settings being wiped out or reset somehow.

So that even when the plugin was enabled, it simply wasn't showing anything.

Learn from the past. Live in the present. Plan for the future.
11101000
Blog
User login
Browse archives
« November 2024  
MoTuWeThFrSaSu
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
 
Poll
Are you interested in language packs for jEdit?
Yes, and I could help maintain translations
26%
Yes, I'd like to have translations
32%
Indifferent
35%
No, that'd be bad (please comment)
7%
Total votes: 1093
Syndication
file   ver   dls
German Localization light   4.4.2.1   101634
Context Free Art (*.cfdg)   0.31   46062
BBEdit scheme   1.0   18601
JBuilder scheme   .001   18502
ColdFusion scheme   1.0   18031
R Edit Mode - extensive version   0.1   17481
Advanced HTML edit mode   1.0   16213
Matlab Edit Mode   1.0   16075
jEdit XP icons   1.0   15236
XP icons for jEdit   1.1   14300