This is an irritation for me as well, though as some have said, only certain applications retain the highlight on the last line. Most notably Microsoft products. Sounds like an RFE is called for here.

Mark Murphy
STAR BASE Consulting, Inc.
mmurphy@xxxxxxxxxxxxxxx


-----"Tyler, Matt" <matt.tyler@xxxxxxxxxxxxxx> wrote: -----
To: "Rational Developer for IBM i / Websphere Development Studio Client for System i & iSeries" <wdsci-l@xxxxxxxxxxxx>
From: "Tyler, Matt" <matt.tyler@xxxxxxxxxxxxxx>
Date: 11/22/2016 10:14AM
Subject: Re: [WDSCI-L] Copying code into an email / word doc - without the current line highlighted?


Charles what version are you using? I am using 9.5.1.0 (with APAR SE65785).

I have the LPEX -> Appearance -> Styles -> currentLine is set with underline. When I copy highlighted code into Outlook 2013 email without putting the cursor at the beginning of the next line it pastes without the last line still highlighted. I stopped pasting code in to emails directly because of the problem with the last highlighted line so I had not noticed that it no longer does that for me.


Thanks, Matt


-----Original Message-----
From: WDSCI-L [mailto:wdsci-l-bounces@xxxxxxxxxxxx] On Behalf Of Charles Wilt
Sent: Tuesday, November 22, 2016 8:07 AM
To: Rational Developer for IBM i / Websphere Development Studio Client for System i & iSeries <wdsci-l@xxxxxxxxxxxx>
Subject: Re: [WDSCI-L] Copying code into an email / word doc - without the current line highlighted?

Ken,

Yeah, I've done that...was hoping there was some way to turn it off the coping of the highlighting in RDi.

Charles

On Tue, Nov 22, 2016 at 8:04 AM, Ken Killian <kkillian@xxxxxxxxxxxx> wrote:

Hi,

I often cut & paste code and past into an email to share...

To remove the current highlighting using MS Outlook, I select the blue
line, and select the icon for the "Text Highlight Color" ICON and
select none! And the blue outline is gone!
(office-2016)

Optionally, I might paste the code into NotePad++/NotePad, which
pastes it without the colors. And then copy and paste from there...


-Ken Killian-

-----Original Message-----
From: WDSCI-L [mailto:wdsci-l-bounces@xxxxxxxxxxxx] On Behalf Of Greg
Wilburn
Sent: Monday, November 21, 2016 4:49 PM
To: Rational Developer for IBM i / Websphere Development Studio Client
for System i & iSeries <wdsci-l@xxxxxxxxxxxx>
Subject: Re: [WDSCI-L] Copying code into an email / word doc - without
the current line highlighted?

Make sure when you copy that your cursor ends up at the beginning of
the next line. Usually you would want to copy the entire row anyway, right?

The only time I see this is when doing a block copy of text.

BTW - what's irritating is that (after marking the text) your cursor
has to be in the source (and not before the source line numbers) in
order to execute a copy.

A lot of times I use the SHIFT+arrow keys to mark rows of text to copy.

-----Original Message-----
From: WDSCI-L [mailto:wdsci-l-bounces@xxxxxxxxxxxx] On Behalf Of
Charles Wilt
Sent: Monday, November 21, 2016 4:38 PM
To: Rational Developer for IBM i / Websphere Development Studio Client
for System i & iSeries <wdsci-l@xxxxxxxxxxxx>
Subject: Re: [WDSCI-L] Copying code into an email / word doc - without
the current line highlighted?

Matt,

Yeah the next line trick works...but is a pain.

Text editor trick works, except as I said...I want the syntax coloring.

Charles

On Mon, Nov 21, 2016 at 2:26 PM, Tyler, Matt
<matt.tyler@xxxxxxxxxxxxxx>
wrote:

Always ensure your cursor is on the next line past the set you want
to copy and not selecting anything.

Another way is to use a text editor to lose the font formatting, etc.
and then repast into word or emails.


Thanks, Matt


-----Original Message-----
From: WDSCI-L [mailto:wdsci-l-bounces@xxxxxxxxxxxx] On Behalf Of
Charles Wilt
Sent: Monday, November 21, 2016 2:06 PM
To: Websphere Development Studio Client for iSeries
<wdsci-l@xxxxxxxxxxxx>
Subject: [WDSCI-L] Copying code into an email / word doc - without
the current line highlighted?

I don't recall this being so hard before...

Then again, it's been a while since I wanted to copy source code
from RDi into a word doc or an email.

I want to copy to include the syntax coloring. And it does, however
the "current line" (ie. last line of the block) highlighting also
comes across. Which results in a bright blue line that really can't
even be read.

Is there some way to prevent that current line highlighting from
being copied?

Thanks!
Charles
--
This is the Rational Developer for IBM i / Websphere Development
Studio Client for System i & iSeries (WDSCI-L) mailing list To post
a message
email: WDSCI-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change
list options,
visit: http://lists.midrange.com/mailman/listinfo/wdsci-l
or email: WDSCI-L-request@xxxxxxxxxxxx Before posting, please take a
moment to review the archives at http://archive.midrange.com/wdsci-l.
--
This is the Rational Developer for IBM i / Websphere Development
Studio Client for System i & iSeries (WDSCI-L) mailing list To post
a message email: WDSCI-L@xxxxxxxxxxxx To subscribe, unsubscribe, or
change list options,
visit: http://lists.midrange.com/mailman/listinfo/wdsci-l
or email: WDSCI-L-request@xxxxxxxxxxxx Before posting, please take a
moment to review the archives at http://archive.midrange.com/wdsci-l.

--
This is the Rational Developer for IBM i / Websphere Development
Studio Client for System i & iSeries (WDSCI-L) mailing list To post a
message
email: WDSCI-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list
options,
visit: http://lists.midrange.com/mailman/listinfo/wdsci-l
or email: WDSCI-L-request@xxxxxxxxxxxx Before posting, please take a
moment to review the archives at http://archive.midrange.com/wdsci-l.
--
This is the Rational Developer for IBM i / Websphere Development
Studio Client for System i & iSeries (WDSCI-L) mailing list To post a
message
email: WDSCI-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list
options,
visit: http://lists.midrange.com/mailman/listinfo/wdsci-l
or email: WDSCI-L-request@xxxxxxxxxxxx Before posting, please take a
moment to review the archives at http://archive.midrange.com/wdsci-l.
--
This is the Rational Developer for IBM i / Websphere Development
Studio Client for System i & iSeries (WDSCI-L) mailing list To post a
message email: WDSCI-L@xxxxxxxxxxxx To subscribe, unsubscribe, or
change list options,
visit: http://lists.midrange.com/mailman/listinfo/wdsci-l
or email: WDSCI-L-request@xxxxxxxxxxxx Before posting, please take a
moment to review the archives at http://archive.midrange.com/wdsci-l.

--
This is the Rational Developer for IBM i / Websphere Development Studio Client for System i & iSeries (WDSCI-L) mailing list To post a message email: WDSCI-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/wdsci-l
or email: WDSCI-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives at http://archive.midrange.com/wdsci-l.

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.