Hi,

Thanks for the latest build. 

I'd like to report 2 long-standing bugs in PSpad. It is still in the current
build.

Bug #1 - Tabs are inserted at the end of a paste operation equal to the number
of tabs that start the line if: Real-tabs are ON and Trim-Trailing-Spaces is ON

To replicate:

A1) Turn real-tabs ON and trim-trailing-spaces ON

A2) select a line of text such as:

>>[TAB]response.buffer=true<<

** '>>' represents the start of a line
** '<<' represents the end of a line

A3) select text, starting at the 'r' of response and  at the 'b' of buffer.

A4) CTRL-C or Copy

A5) arrow down several lines.

A6) make sure auto-indent is on or hit TAB to indent at least 1 tab.

A7) CTRL-V or Paste.

A8) you get:

>>[TAB]response.b[TAB]{{{cursor is here}}}<<

if you tab in twice from the left edge and hit CTRL-V or Paste, you get:

>>[TAB][TAB]response.b[TAB][TAB]{{{cursor is here}}}<<

if you're 3-tabs in, you get

>>[TAB][TAB][TAB]response.b[TAB][TAB][TAB]{{{cursor is here}}}<<

-----------

Bug #1 - This does not happen if trim-trailing spaces if OFF. 

However,

Bug #2 - Artifacts appear on screen if 'Trim-Trailing-Spaces' is OFF and 'Real
Tabs' is ON

If 'Trim-Trailing-Spaces' is OFF, PSPad leaves artifacts when you delete the
text on a line and if the line starts with a leading [TAB]. The artifacts look
like a thin, non-blinking cursor or | (pipe) character. It looks like this

>>[TAB]|

to replicate, 

B1) turn 'Trim-Trailing-Spaces' to OFF. Turn 'Real Tabs' to ON

B2) have a screen that looks like:

>>This is text on my screen
>>[TAB]
>>[TAB]this.something=1<<

B2) select/highlight 'this.something=1'

B3) hit delete. 

B4) arrow up to the previous line.

the screen now looks like:

>>This is text on my screen
>>[TAB]{{{cursor is here}}}
>>[TAB]|<<

B5) No character is actually where the '|' is on the last line, but there is an
artifact on the screen there.

-----------

Please let me know if you need more information to fix these issues. Thanks.

-- 
<http://forum.pspad.com/read.php?6,56940,57050>
PSPad freeware editor http://www.pspad.com

Odpovedet emailem