During a "copy" operation, a trailing space is dropped

OldGrantonian
Posts: 9
Joined: Wed May 16, 2018 10:12 am
Contact:

During a "copy" operation, a trailing space is dropped

Postby OldGrantonian » Wed Aug 08, 2018 8:15 am

I have CN 3.11 with Win 10 Pro.

If I double-click on a word, and then extend the highlight to include a trailing space, the space is not persistent during copy.

Example: This is a sentence.

Highlight "This" in the example. Extend the highlight to include the space. Ctrl+C.

Insert cursor immediately after "This". Ctrl+V.

There's still only one space after "ThisThis"

Now insert cursor anywhere within "sentence". Ctrl+V. No space is inserted after "This".

In both of the copy operations, the trailing space has been dropped.

Note that I don't support the M$ method of ADDING an unwanted space after double-clicking. The simple rule should be "What-you-DO-is-what-you-get". So, IMHO, the CN result after double-clicking a word is CORRECT. (And the method used by this forum software is INCORRECT. :) )
User avatar
CintaNotes Developer
Site Admin
Posts: 4717
Joined: Fri Dec 12, 2008 4:45 pm
Contact:

Re: During a "copy" operation, a trailing space is dropped

Postby CintaNotes Developer » Wed Aug 08, 2018 8:23 am

I'm afraid I can't get the same behavior. Could you please elaborate how exactly do you extend the selection? Thanks!
Alex
OldGrantonian
Posts: 9
Joined: Wed May 16, 2018 10:12 am
Contact:

Re: During a "copy" operation, a trailing space is dropped

Postby OldGrantonian » Wed Aug 08, 2018 8:46 am

CintaNotes Developer wrote:Could you please elaborate how exactly do you extend the selection?


You must be in a note, and your desired word must have a trailing space.

- Insert your cursor somewhere within the word that you want to copy.
- Double click.

The entire word is selected. The highlight terminates just to the right of the selected word. (IMHO, this is correct behaviour.)

Dragging with a mouse is too tricky for me, because I have shaky hands.

- Press Shift.
- Press Right-arrow once.

The highlight is extended by one character.

- Press Ctrl+C
gunars
Posts: 194
Joined: Fri Nov 08, 2013 5:35 am
Contact:

Re: During a "copy" operation, a trailing space is dropped

Postby gunars » Wed Aug 08, 2018 3:23 pm

Yes, I get the same behavior in Win 7 with CN 3.12b1. If I select/copy some text with leading and trailing spaces and then paste it, leading blanks are preserved but trailing blanks are stripped. This is only in the body of a note. It works ok in the title, tag and remark fields.

Return to “Bug Reports”