Eclipse Web Tools Platform and syntax hightlighting
Having trouble installing Oxygen? Got a bug to report? Post it all here.
-
- Posts: 44
- Joined: Fri Aug 05, 2005 2:18 pm
Eclipse Web Tools Platform and syntax hightlighting
Post by DavidPérez »
I have Eclipse 3.1 and Oxygen 5.1.0 works ok.
Now I have installed the Web Tools Platform 0.7 (http://www.eclipse.org/webtools/index.html).
It provides a CSS editor with more features than the one provided with Oxygen, whereas I prefer Oxygen for general XML editing.
The problem is that now Oxygen doesn't highlight syntax with colors.
If I open the Window | Preferences | oXygen | Syntax hightligth | XML Colors and hit the Apply button, normal colors are restored, but for new content I add, only black color is shown.
Any hint for solving this?
Now I have installed the Web Tools Platform 0.7 (http://www.eclipse.org/webtools/index.html).
It provides a CSS editor with more features than the one provided with Oxygen, whereas I prefer Oxygen for general XML editing.
The problem is that now Oxygen doesn't highlight syntax with colors.
If I open the Window | Preferences | oXygen | Syntax hightligth | XML Colors and hit the Apply button, normal colors are restored, but for new content I add, only black color is shown.
Any hint for solving this?
-
- Posts: 44
- Joined: Fri Aug 05, 2005 2:18 pm
-
- Posts: 44
- Joined: Fri Aug 05, 2005 2:18 pm
Post by DavidPérez »
More info:
Code: Select all
java.lang.StringIndexOutOfBoundsException: String index out of range: 0
at java.lang.String.charAt(Unknown Source)
at com.oxygenxml.editor.editors.B.A(Unknown Source)
at com.oxygenxml.editor.editors.B.keyReleased(Unknown Source)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:128)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:843)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:867)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:852)
at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:880)
at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:876)
at org.eclipse.swt.widgets.Widget.wmKeyUp(Widget.java:1575)
at org.eclipse.swt.widgets.Control.WM_KEYUP(Control.java:3352)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:3068)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:3706)
at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:1656)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2711)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1699)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1663)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:367)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:143)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:103)
at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:226)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:376)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:163)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:334)
at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
at org.eclipse.core.launcher.Main.run(Main.java:973)
at org.eclipse.core.launcher.Main.main(Main.java:948)
eclipse.buildId=I20050627-1435
java.version=1.5.0_03
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=es_ES
Command-line arguments: -os win32 -ws win32 -arch x86
-
- Posts: 44
- Joined: Fri Aug 05, 2005 2:18 pm
-
- Site Admin
- Posts: 2095
- Joined: Thu Jan 09, 2003 2:58 pm
Hi David,
The syntax coloring problem may be releted with an Eclipse bug related with isolation of plugins handling the same documents, see:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=96917
Do you still see that exception you osted with 6.1.1?
Best Regards,
George
The syntax coloring problem may be releted with an Eclipse bug related with isolation of plugins handling the same documents, see:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=96917
Do you still see that exception you osted with 6.1.1?
Best Regards,
George
-
- Posts: 44
- Joined: Fri Aug 05, 2005 2:18 pm
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Re: Eclipse Web Tools Platform and syntax hightlighting
Post by sorin_ristache »
Hello,
Best Regards,
Sorin
We implemented and tested a workaround for the Eclipse bug. It will be available in <oXygen/> version 6.2.DavidPérez wrote:The problem is that now Oxygen doesn't highlight syntax with colors.
If I open the Window | Preferences | oXygen | Syntax hightligth | XML Colors and hit the Apply button, normal colors are restored, but for new content I add, only black color is shown.
Any hint for solving this?
Best Regards,
Sorin
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Re: where did you get 6.1.1?
Post by sorin_ristache »
maulin wrote:I am having the exact same problem
...
But I like Oxygen better for xml. help!
You have to wait until September for the 6.2 release.sorin wrote:We implemented and tested a workaround for the Eclipse bug. It will be available in <oXygen/> version 6.2.
I hope that helps,
Sorin
-
- Site Admin
- Posts: 2095
- Joined: Thu Jan 09, 2003 2:58 pm
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service