Allowing multiple marks (M-style) isn't working for me.
After setting the "have multiple marks" option in the
preferences, setting the first mark works fine, but
attempting to set another mark (same number) elsewhere
in the same document produces an error dialog: "The
command for the key you pressed failed. Reason: Choice
Pattern incorrect". However, after leaving this
dialog, the multiple marks are set correctly and I can
move through them correctly.
I'm using Eclipse 3.0.
Logged In: YES
user_id=235271
I'll investigate this soon. Might come back to you with some
questions.
regards
Georg
Logged In: YES
user_id=134861
Hi,
I have the same problem in the CFEClipse editor in Eclipse
3.0.1 (haven't tried other editors)
I thought it was a configuration issue, so i uninstalled the
plugin, then reinstalled it from scratch and did the
plugin.xml.xxxx trick as described in the docco, but still
no joy. My symptoms are exactly as described above.
Regards,
tanguyr
Logged In: YES
user_id=134861
Hi,
Just an update to say i have confirmed the same problem in
text editor and java source editor.
Regs,
/t
Logged In: YES
user_id=134861
Hello,
Me again ;)
here's the stack trace from my eclipse error log, hope it
can help:
!ENTRY org.eclipse.ui 4 4 Apr 29, 2005 16:48:49.235
!MESSAGE The command for the key you pressed failed
!ENTRY org.eclipse.ui 4 0 Apr 29, 2005 16:48:49.251
!MESSAGE Choice Pattern incorrect
!STACK 0
java.lang.IllegalArgumentException: Choice Pattern incorrect
at
java.text.MessageFormat.makeFormat(MessageFormat.java:1420)
at
java.text.MessageFormat.applyPattern(MessageFormat.java:447)
at java.text.MessageFormat.<init>(MessageFormat.java:347)
at java.text.MessageFormat.format(MessageFormat.java:800)
at
net.sourceforge.eclipsetools.quickmarks.Messages.getFormattedString(Messages.java:99)
at
net.sourceforge.eclipsetools.quickmarks.SetMarkAction.setQuickmark(SetMarkAction.java:302)
at
net.sourceforge.eclipsetools.quickmarks.SetMarkAction.run(SetMarkAction.java:57)
at
org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:276)
at
org.eclipse.ui.internal.WWinPluginAction.runWithEvent(WWinPluginAction.java:206)
at
org.eclipse.ui.commands.ActionHandler.execute(ActionHandler.java:143)
at
org.eclipse.ui.internal.commands.Command.execute(Command.java:132)
at
org.eclipse.ui.internal.keys.WorkbenchKeyboard.executeCommand(WorkbenchKeyboard.java:453)
at
org.eclipse.ui.internal.keys.WorkbenchKeyboard.press(WorkbenchKeyboard.java:871)
at
org.eclipse.ui.internal.keys.WorkbenchKeyboard.processKeyEvent(WorkbenchKeyboard.java:912)
at
org.eclipse.ui.internal.keys.WorkbenchKeyboard.filterKeySequenceBindings(WorkbenchKeyboard.java:530)
at
org.eclipse.ui.internal.keys.WorkbenchKeyboard.access$2(WorkbenchKeyboard.java:478)
at
org.eclipse.ui.internal.keys.WorkbenchKeyboard$1.handleEvent(WorkbenchKeyboard.java:243)
at
org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82)
at
org.eclipse.swt.widgets.Display.filterEvent(Display.java:740)
at
org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:795)
at
org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:820)
at
org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:805)
at
org.eclipse.swt.widgets.Control.sendKeyEvent(Control.java:1734)
at
org.eclipse.swt.widgets.Control.sendKeyEvent(Control.java:1730)
at
org.eclipse.swt.widgets.Control.WM_KEYDOWN(Control.java:3517)
at
org.eclipse.swt.widgets.Control.windowProc(Control.java:2997)
at
org.eclipse.swt.widgets.Display.windowProc(Display.java:3338)
at
org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native
Method)
at
org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:1473)
at
org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2429)
at
org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1377)
at
org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1348)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:254)
at
org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:141)
at
org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:96)
at
org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:335)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:273)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:129)
at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.eclipse.core.launcher.Main.basicRun(Main.java:185)
at org.eclipse.core.launcher.Main.run(Main.java:704)
at org.eclipse.core.launcher.Main.main(Main.java:688)
Logged In: NO
The problem is in messages.properties:
The line:
SetMarkAction.msg.Added=Added Quickmark {0} (to {1}
existing one{1,choice,1#|1<#s}) in active {2}.
should be:
SetMarkAction.msg.Added=Added Quickmark {0} (to {1}
existing one{1,choice,1#|1<s}) in active {2}.
Note the removal of the # sign.
(The German language version does not have a problem.)
Logged In: YES
user_id=134861
who was that masked man ;)
thank you stranger, that has FIXED it for me.