Re: Component editor not inserting }

From: Mike Schrag (mschra..dimension.com)
Date: Sat May 27 2006 - 07:03:36 EDT

  • Next message: Mike Schrag: "Re: Component editor not inserting }"

    Re: pasting into the wrong editor ... I looked some into this and
    multipage editor always has the correct state. That is, the active
    editor is always correct when this happens. All the debugging
    appears that WOLips is properly configuring which editor you are
    currently in.

    It seems as though focus is updated properly, but the copy/paste
    actions are not being bound to the appropriate editor of the
    multipage editor. Do you happen to know what the implementation of
    the paste action is used by multipage editor? It's not the usual one
    from text action. They must trap it and redirect with a custom
    implementation? Part of the setFocus codepath updates key bindings,
    so it's possible the key binding for paste is being left attached to
    the previous editor or something. It's like the Eclipse people are
    working AGAINST us as they get closer to 3.2 final :)

    On May 26, 2006, at 7:00 AM, Ulrich Köster wrote:

    > Moin,
    >
    > set the java editor as the default for java files and close and
    > open your projects.
    >
    > WOLips sets default editor for a given java file once. (It's a
    > listener thats why have to close and open the projects. I'll
    > enhance that in the future). You have to do that once. After that
    > the default editor for a given java file is the java editor or the
    > component editor. Later if it's a component.
    >
    > I know that it worked before but it caused serious problems in
    > other areas mainly debugging.
    >
    >
    > Uli
    >
    > Am 26.05.2006 um 06:32 schrieb Anjo Krank:
    >
    >> Create a new workspace, import your projects, make sure that the
    >> default is the java editor. Then it should just work.
    >>
    >> Cheers, Anjo
    >>
    >> Am 25.05.2006 um 16:04 schrieb Marc Respass:
    >>
    >>> Pierre, that same thing happens to me. The only thing I've been
    >>> able to do is manually Open With > Java Editor and Eclipse
    >>> remembers my choice but I have to do it for every file.
    >>>
    >>> Marc
    >>>
    >>> On May 25, 2006, at 9:46 AM, Pierre Frisch wrote:
    >>>
    >>>> Sorry Anjo, but my brain is not working how do you do that? If I
    >>>> go to the file association preference I have the Java editor set
    >>>> as the default editor for .java file however when I try to edit
    >>>> a java file that goes with a component it still launches the
    >>>> component editor. I must be missing something obvious.
    >>>>
    >>>> Pierre
    >>>>
    >>>> On 23-May-06, at 7:15 AM, Anjo Krank wrote:
    >>>>
    >>>>> I do it the other way round. I set .java to the Java Editor and
    >>>>> open the WOComponentEditor on demand (or WOBuilder).
    >>>>>
    >>>>> Cheers, Anjo
    >>>>>
    >>>>> Am 23.05.2006 um 16:04 schrieb Sébastien Sahuc:
    >>>>>
    >>>>>> This is a known limitation from the Java Editor within the
    >>>>>> WOComponentEditor. Its feature set will never match the built-
    >>>>>> in Java editor from Eclipse. Whenever I need to seriously edit
    >>>>>> Java file, I usually 'right-click --> open with... -> Java
    >>>>>> Editor (vs. WOComponentEditor) .
    >>>>>>
    >>>>>> Sebastien
    >>>>>>
    >>>>>> On May 22, 2006, at 11:50 PM, Guido Neitzer wrote:
    >>>>>>
    >>>>>>> On 22.05.2006, at 21:43 Uhr, Guido Neitzer wrote:
    >>>>>>>
    >>>>>>> [Component editor Java part - not really working]
    >>>>>>>> Don't think it has to do with this - I have this ALWAYS in
    >>>>>>>> component editor. I'm just trying to install RC5 and the
    >>>>>>>> latest WOLips ... will come back later.
    >>>>>>>
    >>>>>>> Nope. Doesn't work at all. No automatic indentation, no
    >>>>>>> closing braces.
    >>>>>>>
    >>>>>>> cug
    >>>>>>>
    >>>>>>> --
    >>>>>>> PharmaLine, Essen, GERMANY
    >>>>>>> Software and Database Development
    >>>>>>>
    >>>>>>>
    >>>>>>
    >>>>>
    >>>>>
    >>>>
    >>>
    >>
    >



    This archive was generated by hypermail 2.0.0 : Sat May 27 2006 - 07:03:49 EDT