text copy/paste background annoying problem [message #336029] |
Thu, 14 May 2009 10:58 |
Carmelo Messages: 224 Registered: July 2009 |
Senior Member |
|
|
This is a multi-part message in MIME format.
------=_NextPart_000_00AA_01C9D493.B24C36B0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Hi all, I have a question on editor (StructuredTextEditor) COPY/PASTE
I have extended this editor to use it in my rcp application ... honestly =
I have seen the same problem around eclipse ...
=20
The problem is
=20
Let's say that this editor have got the following text displayed:
=20
<?xml version=3D"1.0" encoding=3D"utf-8"?>
<privileges/>
=20
When u copy and paste this text in an editor that support colors and =
formatting it keeps the right colors and formatting. Perfect .
=20
The question is . why if I just select a piece of this text it will come =
out with a dark blue background?
=20
encoding=3D"utf-8"
=20
=20
should I ask this to the webtools forum as well.
=20
Ciao=20
Kar
------=_NextPart_000_00AA_01C9D493.B24C36B0
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML xmlns:o =3D "urn:schemas-microsoft-com:office:office"><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dunicode">
<META content=3D"MSHTML 6.00.6001.18226" name=3DGENERATOR></HEAD>
<BODY id=3DMailContainerBody=20
style=3D"PADDING-RIGHT: 10px; PADDING-LEFT: 10px; PADDING-TOP: 15px" =
leftMargin=3D0=20
topMargin=3D0 CanvasTabStop=3D"true" name=3D"Compose message area">
<P class=3DMsoNormal style=3D"MARGIN: 0in 0in 0pt"><FONT =
face=3DCalibri>Hi all, I have=20
a question on editor (</FONT><SPAN=20
style=3D"FONT-SIZE: 10pt; BACKGROUND: silver; COLOR: black; FONT-FAMILY: =
'Courier New'; mso-highlight: silver">StructuredTextEditor</SPAN><SPAN=20
style=3D"FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'">)=20
COPY/PASTE<o:p></o:p></SPAN></P>
<P class=3DMsoNormal style=3D"MARGIN: 0in 0in 0pt"><SPAN=20
style=3D"FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'">I =
have=20
extended this editor to use it in my rcp application ... honestly I have =
seen=20
the same problem around eclipse ...<o:p></o:p></SPAN></P>
<P class=3DMsoNormal style=3D"MARGIN: 0in 0in 0pt"><SPAN=20
style=3D"FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier =
New'"><o:p> </o:p></SPAN></P>
<P class=3DMsoNormal style=3D"MARGIN: 0in 0in 0pt"><SPAN=20
style=3D"FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'">The =
problem=20
is<o:p></o:p></SPAN></P>
<P class=3DMsoNormal style=3D"MARGIN: 0in 0in 0pt"><SPAN=20
style=3D"FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier =
New'"><o:p> </o:p></SPAN></P>
<P class=3DMsoNormal style=3D"MARGIN: 0in 0in 0pt"><SPAN=20
style=3D"FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier =
New'">Let's say that=20
this editor have got the following text displayed:<o:p></o:p></SPAN></P>
<P class=3DMsoNormal style=3D"MARGIN: 0in 0in 0pt"><SPAN=20
style=3D"FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier =
New'"><o:p> </o:p></SPAN></P>
<P class=3DMsoNormal=20
style=3D"MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"><SPAN=20
style=3D"FONT-SIZE: 10pt; COLOR: teal; FONT-FAMILY: 'Courier =
New'"><?</SPAN><SPAN=20
style=3D"FONT-SIZE: 10pt; COLOR: #3f7f7f; FONT-FAMILY: 'Courier =
New'">xml=20
</SPAN><SPAN=20
style=3D"FONT-SIZE: 10pt; COLOR: #7f007f; FONT-FAMILY: 'Courier =
New'">version</SPAN><SPAN=20
style=3D"FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier =
New'">=3D</SPAN><SPAN=20
style=3D"FONT-SIZE: 10pt; COLOR: #2a00ff; FONT-FAMILY: 'Courier =
New'">"1.0"=20
</SPAN><SPAN=20
style=3D"FONT-SIZE: 10pt; COLOR: #7f007f; FONT-FAMILY: 'Courier =
New'">encoding</SPAN><SPAN=20
style=3D"FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier =
New'">=3D</SPAN><SPAN=20
style=3D"FONT-SIZE: 10pt; COLOR: #2a00ff; FONT-FAMILY: 'Courier =
New'">"utf-8"</SPAN><SPAN=20
style=3D"FONT-SIZE: 10pt; COLOR: teal; FONT-FAMILY: 'Courier =
New'">?></SPAN><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: 'Courier =
New'"><o:p></o:p></SPAN></P>
<P class=3DMsoNormal=20
style=3D"MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"><SPAN=20
style=3D"FONT-SIZE: 10pt; COLOR: teal; FONT-FAMILY: 'Courier =
New'"><</SPAN><SPAN=20
style=3D"FONT-SIZE: 10pt; COLOR: #3f7f7f; FONT-FAMILY: 'Courier =
New'">privileges</SPAN><SPAN=20
style=3D"FONT-SIZE: 10pt; COLOR: teal; FONT-FAMILY: 'Courier =
New'">/></SPAN><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: 'Courier =
New'"><o:p></o:p></SPAN></P>
<P class=3DMsoNormal style=3D"MARGIN: 0in 0in 0pt"><SPAN=20
style=3D"FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier =
New'"><o:p> </o:p></SPAN></P>
<P class=3DMsoNormal style=3D"MARGIN: 0in 0in 0pt"><SPAN=20
style=3D"FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'">When =
u copy=20
and paste this text in an editor that support colors and formatting it =
keeps the=20
right colors and formatting. Perfect .<o:p></o:p></SPAN></P>
<P class=3DMsoNormal style=3D"MARGIN: 0in 0in 0pt"><SPAN=20
style=3D"FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier =
New'"><o:p> </o:p></SPAN></P>
<P class=3DMsoNormal style=3D"MARGIN: 0in 0in 0pt"><SPAN=20
style=3D"FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'">The =
question=20
is . why if I just select a piece of this text it will come out with a =
dark blue=20
background?<o:p></o:p></SPAN></P>
<P class=3DMsoNormal style=3D"MARGIN: 0in 0in 0pt"><SPAN=20
style=3D"FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier =
New'"><o:p> </o:p></SPAN></P>
<P class=3DMsoNormal style=3D"MARGIN: 0in 0in 0pt"><SPAN=20
style=3D"FONT-SIZE: 10pt; BACKGROUND: blue; COLOR: #7f007f; FONT-FAMILY: =
'Courier New'; mso-highlight: blue">encoding</SPAN><SPAN=20
style=3D"FONT-SIZE: 10pt; BACKGROUND: blue; COLOR: black; FONT-FAMILY: =
'Courier New'; mso-highlight: blue">=3D</SPAN><SPAN=20
style=3D"FONT-SIZE: 10pt; BACKGROUND: blue; COLOR: #2a00ff; FONT-FAMILY: =
'Courier New'; mso-highlight: blue">"utf-8"</SPAN><SPAN=20
style=3D"FONT-SIZE: 10pt; COLOR: #2a00ff; FONT-FAMILY: 'Courier =
New'"><o:p></o:p></SPAN></P>
<P class=3DMsoNormal style=3D"MARGIN: 0in 0in 0pt"><SPAN=20
style=3D"FONT-SIZE: 10pt; COLOR: #2a00ff; FONT-FAMILY: 'Courier =
New'"><o:p> </o:p></SPAN></P>
<P class=3DMsoNormal style=3D"MARGIN: 0in 0in 0pt"><SPAN=20
style=3D"FONT-SIZE: 10pt; COLOR: #2a00ff; FONT-FAMILY: 'Courier =
New'"><o:p><FONT=20
face=3DCalibri color=3D#000000 size=3D3></FONT></o:p></SPAN> </P>
<P class=3DMsoNormal style=3D"MARGIN: 0in 0in 0pt"><SPAN=20
style=3D"FONT-SIZE: 10pt; COLOR: #2a00ff; FONT-FAMILY: 'Courier =
New'"><o:p><FONT=20
face=3DCalibri color=3D#000000 size=3D3>should I ask this to the =
webtools forum as=20
well.</FONT></o:p></SPAN></P>
<P class=3DMsoNormal style=3D"MARGIN: 0in 0in 0pt"><SPAN=20
style=3D"FONT-SIZE: 10pt; COLOR: #2a00ff; FONT-FAMILY: 'Courier =
New'"><o:p><FONT=20
face=3DCalibri color=3D#000000 size=3D3></FONT></o:p></SPAN> </P>
<P class=3DMsoNormal style=3D"MARGIN: 0in 0in 0pt"><SPAN=20
style=3D"FONT-SIZE: 10pt; COLOR: #2a00ff; FONT-FAMILY: 'Courier =
New'">Ciao=20
</SPAN></P>
<P class=3DMsoNormal style=3D"MARGIN: 0in 0in 0pt"><SPAN=20
style=3D"FONT-SIZE: 10pt; COLOR: #2a00ff; FONT-FAMILY: 'Courier =
New'">Kar<o:p></o:p></SPAN></P></BODY></HTML>
------=_NextPart_000_00AA_01C9D493.B24C36B0--
|
|
|
Powered by
FUDForum. Page generated in 0.02655 seconds