facebook

CSS editor problem with ENTER

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MyEclipse Archived
  2.  > 
  3. Bugs
Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #223983 Reply

    Erez
    Member

    I am “still” running with MyEclipse 3.8.3 on XP.
    I am having problems with CSS file that sometimes I can’t insert a new line the ENTER key just does not do anything.

    Weird thing is that if take the before “}” of some definition then I can insert a new line. Toggeling with this ending definition char “}” toggles with the ability to enter a new line with ENTER – was this reported ? was it fixed in 3.8.4?

    Thanks,

    Erez

    #223985

    Riyad Kalla
    Member

    Erez, what build of Eclipse are you using?

    #223986

    Erez
    Member

    3.0.1, buildId: 200409161125

    By the way, if I go to the last row in the file (even short file) the ENTER works.

    #223989

    Riyad Kalla
    Member

    Check your log file for CSS-related exceptions, I have a feeling the validator is throwing up on itself…

    <workspace dir>\.metadata\.log

    #223990

    Erez
    Member

    ok, I am going to have a look…

    #223991

    Erez
    Member

    well you were right. This is what I got repeatedly. What does it mean?

    java.lang.NullPointerException
    at com.ibm.sse.editor.css.autoedit.StructuredAutoEditStrategyCSS.getPrevKeyRegion(Unknown Source)
    at com.ibm.sse.editor.css.autoedit.StructuredAutoEditStrategyCSS.autoIndentAfterNewLine(Unknown Source)
    at com.ibm.sse.editor.css.autoedit.StructuredAutoEditStrategyCSS.customizeDocumentCommand(Unknown Source)
    at com.ibm.sse.editor.StructuredTextViewer.customizeDocumentCommand(Unknown Source)
    at com.ibm.sse.editor.StructuredTextEditor$StatusLineSourceViewer.customizeDocumentCommand(Unknown Source)
    at com.ibm.sse.editor.StructuredTextViewer.handleVerifyEvent(Unknown Source)
    at org.eclipse.jface.text.TextViewer$TextVerifyListener.verifyText(TextViewer.java:347)
    at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:193)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:796)
    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.Widget.notifyListeners(Widget.java:613)
    at org.eclipse.swt.custom.StyledText.modifyContent(StyledText.java:5571)
    at org.eclipse.swt.custom.StyledText.sendKeyEvent(StyledText.java:6441)
    at org.eclipse.swt.custom.StyledText.doContent(StyledText.java:2536)
    at org.eclipse.swt.custom.StyledText.handleKey(StyledText.java:4979)
    at org.eclipse.swt.custom.StyledText.handleKeyDown(StyledText.java:5002)
    at org.eclipse.swt.custom.StyledText$7.handleEvent(StyledText.java:4747)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:796)
    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_CHAR(Control.java:3067)
    at org.eclipse.swt.widgets.Control.windowProc(Control.java:2970)
    at org.eclipse.swt.widgets.Display.windowProc(Display.java:3338)
    at org.eclipse.swt.internal.win32.OS.CallWindowProcW(Native Method)
    at org.eclipse.swt.internal.win32.OS.CallWindowProc(OS.java:1397)
    at org.eclipse.swt.internal.BidiUtil.windowProc(BidiUtil.java:647)
    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(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    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)

    #223992

    Riyad Kalla
    Member

    Yep I just filed this bug recently, as far as what it means, you would have to ask one of the developers 😉

    #223993

    Erez
    Member

    As long as it is filed, I am happier – meaning it will be dealt with. Anyway, as far as the
    code I changed something and now it seems better. But who knows?

    Thanks.

    #226967

    michaelsica
    Member

    I’m having this problem too. Will it be fixed in the next release?

    #226970

    Riyad Kalla
    Member

    There is no ETA for this issue yet, if we get time before 4.0 to address it we will, sorry for the delay.

Viewing 10 posts - 1 through 10 (of 10 total)
Reply To: CSS editor problem with ENTER

You must be logged in to post in the forum log in