editor.jsp strangenesses

View: New views
5 Messages — Rating Filter:   Alert me  

editor.jsp strangenesses

by Christoph P. Kukulies :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

When editing jsp files with the new editor in 7.5 (7.0.5 also?), anyway,
when I delete something, a "ghost" transparent  text overlays the deleted
section.  Very strange.

Also, when I insert an & (ampersand) in an if clause, the editor
converts the typed & on the fly into & (!).

Why does the editor think it's smart that way? It's annoying.


--
Chris Christoph P. U. Kukulies kukulies (at) rwth-aachen.de




_______________________________________________
This mail is sent to you from the opencms-dev mailing list
To change your list options, or to unsubscribe from the list, please visit
http://lists.opencms.org/mailman/listinfo/opencms-dev

Re: editor.jsp strangenesses

by Paul-Inge Flakstad :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Chris

I see the strange behaviour with "ghost text" all the time, and I've also noticed the conversion of "&" and other special characters into their HTML entity equivalents. This happens in all versions of OpenCms that shipped with the "smart" editor (the one with syntax highlighting). Very annoying, but if I remember correctly, this only happens when syntax highlighting is turned on. So the few times I write something directly in the editor, I turn it off first. I lose the highlighting, but it's better than being surrounded by ghosts (so to speak :).

I'm using FF btw, because using IE doesn't sit well with me. :)

Cheers,
Paul

> -----Original Message-----
> From: opencms-dev-bounces@...
> [mailto:opencms-dev-bounces@...] On Behalf Of
> Christoph P. Kukulies
> Sent: 15. oktober 2009 16:29
> To: opencms-dev@...
> Subject: [opencms-dev] editor.jsp strangenesses
>
> When editing jsp files with the new editor in 7.5 (7.0.5
> also?), anyway,
> when I delete something, a "ghost" transparent  text overlays
> the deleted
> section.  Very strange.
>
> Also, when I insert an & (ampersand) in an if clause, the editor
> converts the typed & on the fly into & (!).
>
> Why does the editor think it's smart that way? It's annoying.
>
>
> --
> Chris Christoph P. U. Kukulies kukulies (at) rwth-aachen.de
>
>
>
>
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list,
> please visit
> http://lists.opencms.org/mailman/listinfo/opencms-dev
>

_______________________________________________
This mail is sent to you from the opencms-dev mailing list
To change your list options, or to unsubscribe from the list, please visit
http://lists.opencms.org/mailman/listinfo/opencms-dev

Re: editor.jsp strangenesses

by Christian Steinert :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Just to confirm  - I had similar problems. Ghost text seems to appear, if the edited files contain tab characters.
I also changed back to the old editor. You can do that in the user settings. There is also a file where the priorities of the different editors can be controlled, but the name currently evades me - editing this file would change the default behavior globally for all users, but the setting there would probably be reverted during opencms upgrades.

Christian

I see the strange behaviour with "ghost text" all the time, and I've also noticed the conversion of "&" and other special characters into their HTML entity equivalents. This happens in all versions of OpenCms that shipped with the "smart" editor (the one with syntax highlighting). Very annoying, but if I remember correctly, this only happens when syntax highlighting is turned on. So the few times I write something directly in the editor, I turn it off first. I lose the highlighting, but it's better than being surrounded by ghosts (so to speak :).

I'm using FF btw, because using IE doesn't sit well with me. :)

Cheers,
Paul

  
-----Original Message-----
From: opencms-dev-bounces@... 
[opencms-dev-bounces@...] On Behalf Of 
Christoph P. Kukulies
Sent: 15. oktober 2009 16:29
To: opencms-dev@...
Subject: [opencms-dev] editor.jsp strangenesses

When editing jsp files with the new editor in 7.5 (7.0.5 
also?), anyway,
when I delete something, a "ghost" transparent  text overlays 
the deleted
section.  Very strange.

Also, when I insert an & (ampersand) in an if clause, the editor
converts the typed & on the fly into & (!).

Why does the editor think it's smart that way? It's annoying.


--
Chris Christoph P. U. Kukulies kukulies (at) rwth-aachen.de




_______________________________________________
This mail is sent to you from the opencms-dev mailing list
To change your list options, or to unsubscribe from the list, 
please visit
http://lists.opencms.org/mailman/listinfo/opencms-dev

    

_______________________________________________
This mail is sent to you from the opencms-dev mailing list
To change your list options, or to unsubscribe from the list, please visit
http://lists.opencms.org/mailman/listinfo/opencms-dev

  



_______________________________________________
This mail is sent to you from the opencms-dev mailing list
To change your list options, or to unsubscribe from the list, please visit
http://lists.opencms.org/mailman/listinfo/opencms-dev

Re: editor.jsp strangenesses

by Christoph P. Kukulies :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Thanks, Paul-Inge and Christian for confirming the ghost effects.

You say, "the few times I write something directly in the editor...",
how are you editing then? Just curious about what your setup is.
Are you using Eclipse?


--
Chris Christoph P. U. Kukulies kukulies (at) rwth-aachen.de

On Thu, Oct 15, 2009 at 11:06:56PM +0200, Paul-Inge Flakstad wrote:

> Hi Chris
>
> I see the strange behaviour with "ghost text" all the time, and I've also noticed the conversion of "&" and other special characters into their HTML entity equivalents. This happens in all versions of OpenCms that shipped with the "smart" editor (the one with syntax highlighting). Very annoying, but if I remember correctly, this only happens when syntax highlighting is turned on. So the few times I write something directly in the editor, I turn it off first. I lose the highlighting, but it's better than being surrounded by ghosts (so to speak :).
>
> I'm using FF btw, because using IE doesn't sit well with me. :)
>
> Cheers,
> Paul
>
> > -----Original Message-----
> > From: opencms-dev-bounces@...
> > [mailto:opencms-dev-bounces@...] On Behalf Of
> > Christoph P. Kukulies
> > Sent: 15. oktober 2009 16:29
> > To: opencms-dev@...
> > Subject: [opencms-dev] editor.jsp strangenesses
> >
> > When editing jsp files with the new editor in 7.5 (7.0.5
> > also?), anyway,
> > when I delete something, a "ghost" transparent  text overlays
> > the deleted
> > section.  Very strange.
> >
> > Also, when I insert an & (ampersand) in an if clause, the editor
> > converts the typed & on the fly into & (!).
> >
> > Why does the editor think it's smart that way? It's annoying.
> >
> >
> > --
> > Chris Christoph P. U. Kukulies kukulies (at) rwth-aachen.de
> >
> >
> >
> >
> > _______________________________________________
> > This mail is sent to you from the opencms-dev mailing list
> > To change your list options, or to unsubscribe from the list,
> > please visit
> > http://lists.opencms.org/mailman/listinfo/opencms-dev
> >

_______________________________________________
This mail is sent to you from the opencms-dev mailing list
To change your list options, or to unsubscribe from the list, please visit
http://lists.opencms.org/mailman/listinfo/opencms-dev

Re: editor.jsp strangenesses

by Polina Smagina :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello list,

since OpenCms 7.0.5 we use the the EditArea, which allows highlighting
functionality for all text based files.

        http://sourceforge.net/projects/editarea/

The "ghost text" is a known bug of EditArea. Unfortunatly there is no
bug fix for this issue until now. On the other hand this behavior does
not effect the source code, so you can use it for development.

If you want to write directly in the editor, e.g I have to quite often,
you can disable the syntax highlighting. The most time I just save the
document (shotkey: Crtl+S). So this helps too.


Kind Regards,
Polina

-------------------
Polina Smagina

Alkacon Software GmbH  - The OpenCms Experts
http://www.alkacon.com - http://www.opencms.org

Christoph P. Kukulies schrieb:

> Thanks, Paul-Inge and Christian for confirming the ghost effects.
>
> You say, "the few times I write something directly in the editor...",
> how are you editing then? Just curious about what your setup is.
> Are you using Eclipse?
>
>
> --
> Chris Christoph P. U. Kukulies kukulies (at) rwth-aachen.de
>
> On Thu, Oct 15, 2009 at 11:06:56PM +0200, Paul-Inge Flakstad wrote:
>> Hi Chris
>>
>> I see the strange behaviour with "ghost text" all the time, and I've also noticed the conversion of "&" and other special characters into their HTML entity equivalents. This happens in all versions of OpenCms that shipped with the "smart" editor (the one with syntax highlighting). Very annoying, but if I remember correctly, this only happens when syntax highlighting is turned on. So the few times I write something directly in the editor, I turn it off first. I lose the highlighting, but it's better than being surrounded by ghosts (so to speak :).
>>
>> I'm using FF btw, because using IE doesn't sit well with me. :)
>>
>> Cheers,
>> Paul
>>
>>> -----Original Message-----
>>> From: opencms-dev-bounces@...
>>> [mailto:opencms-dev-bounces@...] On Behalf Of
>>> Christoph P. Kukulies
>>> Sent: 15. oktober 2009 16:29
>>> To: opencms-dev@...
>>> Subject: [opencms-dev] editor.jsp strangenesses
>>>
>>> When editing jsp files with the new editor in 7.5 (7.0.5
>>> also?), anyway,
>>> when I delete something, a "ghost" transparent  text overlays
>>> the deleted
>>> section.  Very strange.
>>>
>>> Also, when I insert an & (ampersand) in an if clause, the editor
>>> converts the typed & on the fly into & (!).
>>>
>>> Why does the editor think it's smart that way? It's annoying.
>>>
>>>
>>> --
>>> Chris Christoph P. U. Kukulies kukulies (at) rwth-aachen.de
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> This mail is sent to you from the opencms-dev mailing list
>>> To change your list options, or to unsubscribe from the list,
>>> please visit
>>> http://lists.opencms.org/mailman/listinfo/opencms-dev
>>>
>
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://lists.opencms.org/mailman/listinfo/opencms-dev


_______________________________________________
This mail is sent to you from the opencms-dev mailing list
To change your list options, or to unsubscribe from the list, please visit
http://lists.opencms.org/mailman/listinfo/opencms-dev