Re: strange characters replace brackets or even "else" [76017]

2021-06-07 Tema obsahu Jan Fiala
I ask again. Does it hapoen in the current 5.0.7 builds?

-- 

PSPad freeware editor https://www.pspad.com


Re: V5.07 odd highlighting quirk [76016]

2021-06-07 Tema obsahu Jan Fiala
In program settings disable option highlight occurences of selected text

-- 

PSPad freeware editor https://www.pspad.com


Re: Unwanted and sudden converting to strange characters [76015]

2021-06-07 Tema obsahu Gorlash
Wow, not even two hours into using V5.07, and I got bitten by this bug...

I don't seem to be able to copy the entire trashed line, which is some 280
characters long.  So here is an image of the entire trash-line:

https://www.flickr.com/photos/derelllicht/51232900663

Here is what the code looked like before being pspad-ed:

   printf("Last logon: %s [%"PRIu64"]
", ctm, (u64) max_logon_time) ; 
//lint !e571
#endif
   
   //  look at current time


Here is what the trashed section looks like in a hex dump:
023A0:  20 20 20 70 72 69 6E 74 66 28 22 4C 61 73 74 20  |printf("Last
 |
023B0:  6C 6F 67 6F 6E 3A 20 25 73 20 5B 25 22 50 52 49  | logon: %s [%"PRI |
023C0:  75 36 34 22 5D 5C 6E 22 2C 20 63 74 6D 2C 20 28  | u64"]
", ctm, ( |
023D0:  75 36 34 29 20 6D 61 78 5F 6C 6F 67 6F 6E 5F 74  | u64) max_logon_t |
023E0:  69 6D 65 29 20 3B 20 20 2F 2F 6C 69 6E 74 20 21  | ime) ;  //lint ! |
023F0:  65 35 37 31 0D 0A 20 20 20 0D 0A 20 20 20 0D 0A  | e571..   ..   .. |
02400:  23 65 3F 3F 69 66 00 4D 00 00 3F 3F 00 00 00 00  | #e??if.M..?? |
02410:  00 00 3F 00 00 00 00 00 00 00 00 00 04 00 3F 3F  | ..?...?? |
02420:  3F 3F 00 00 00 00 00 00 49 00 3F 3F 00 00 00 00  | ??..I.?? |
02430:  3F 3F 3F 00 00 00 00 00 00 00 01 00 04 00 3F 3F  | ???...?? |
02440:  00 00 00 00 00 00 6E 00 6E 00 3F 3F 00 00 00 00  | ..n.n.?? |
02450:  3F 3F 3F 00 00 00 00 00 00 00 3F 02 01 00 02 00  | ???...?. |
02460:  0D 0A 00 6E 75 49 74 65 6D 00 3F 3F 00 00 00 00  | ...nuItem.?? |
02470:  3F 3F 3F 00 00 00 00 00 00 00 3F 4A 3F 3F 05 00  | ???...?J??.. |
02480:  08 00 00 00 65 73 00 61 79 00 3F 3F 00 00 00 00  | es.ay.?? |
02490:  3F 3F 3F 00 00 00 00 00 00 00 3F 02 01 00 03 00  | ???...?. |
024A0:  4E 34 38 00 00 74 72 61 79 00 3F 3F 00 00 00 00  | N48..tray.?? |
024B0:  3F 3F 3F 00 00 00 00 00 00 00 3F 02 01 00 09 00  | ???...?. |
024C0:  50 6F 70 75 70 53 61 76 65 00 3F 3F 00 00 00 00  | PopupSave.?? |
024D0:  3F 3F 3F 00 00 00 00 00 00 00 3F 02 01 00 03 00  | ???...?. |
024E0:  4E 33 38 00 69 63 6B 00 00 00 3F 3F 00 00 00 00  | N38.ick...?? |
024F0:  3F 3F 3F 00 00 00 00 00 00 00 3F 02 01 00 09 0D  | ???...?. |
02500:  0A 20 20 20 0D 0A 20 20 20 2F 2F 20 20 6C 6F 6F  | .   ..   //  loo |
02510:  6B 20 61 74 20 63 75 72 72 65 6E 74 20 74 69 6D  | k at current tim |
02520:  65 0D 0A 20 20 20 5F 74 7A 73 65 74 28 29 3B 0D  | e..   _tzset();. |


So it is only the #endif line which was destroyed...

My OS info:
Edition Windows 10 Pro
Version 20H2
Installed on‎02/‎08/‎21
OS build19042.928
Experience  Windows Feature Experience Pack 120.2212.551.0

I'm editing two .cpp files and one .htm file

-- 

PSPad freeware editor https://www.pspad.com


Re: strange characters replace brackets or even "else" [76014]

2021-06-07 Tema obsahu Gorlash
This one issue is your curse, isn't it, PsPad Master???
If you could fix this one thing, so that it never came back, you could *almost*
just retire!!!  

I had to stop using PsPad at my last contract job, because this popped up inside
a comment, and broke our Git versioning software when I submitted merge
request... they demanded that I switch to another editor, which really
sucked...

Everyone has a demon or two, but this one you can't hide from at all, huh?!?!
:-O
I'm glad you continue to try to pursue it...

-- 

PSPad freeware editor https://www.pspad.com


V5.07 odd highlighting quirk [76013]

2021-06-07 Tema obsahu Gorlash
I recently returned to PsPad after a long absence, and just upgraded to 5.07.
I'm noticing an unusual highlighting quirk, present in both html and cpp files.

Note my enclosed image... on line 125, I have highlighted the sub-word
'seconds', and all other occurrences of 'seconds' have been highlighted in some
strange orange background color. 

Wait, I see where that is... in the Program_Settings:colors dialog, that is
defined as "Occurrences Back"... ummm... I really don't want that... is there a
way to turn that off?? (yes, I'm going to be looking through all the settings,
but there are a *lot* of them!!

https://www.flickr.com/photos/derelllicht/51233207199

-- 

PSPad freeware editor https://www.pspad.com


Re: Strange characters insertion [76012]

2021-06-07 Tema obsahu SteveBondy
For what it's worth I have also had this happen many times over many versions of
PSPad and I have observed that it happens most frequently after opening and
closing many files, switching back and forth between projects etc. It seems to
be a buffer overflow kind of issue where data gets randomly written to the wrong
place.

I've even had it corrupt my project file to the point I had to manually rebuild
it.

I often have many files open so it takes a couple rows of tabs to show them all,
and will run a test of the program I'm working on, open the compiler output in a
new tab to review, close that, make changes and repeat. Or sometimes after doing
search and replace across all files in the project so it opens and closes a
bunch of files, or searching for a pattern, open the results in another tab then
do another search to refine the results, etc. The common thread for me always
seems to be opening and closing a lot of files.

Possibly related is that as many files are opened and closed, and the number of
tabs changes from fitting on one row, to needing two rows of tabs (or back
again) PSPad loses track of which tab is highlighted, so when I look at the tabs
it shows one tab highlighted, but the tab actually being displayed is a
different one.

I've gotten into the habit of just closing PSPad every so often when I'm opening
and closing lots of files.

The vast majority of my work is editing HTML, XML, and javascript, but lately
(the past 8 months or so) I have mostly been developing in Python, but I'm
developing code that produces XML files.

Steve

-- 

PSPad freeware editor https://www.pspad.com


PSPad unicode 5.0.7 (649) English [76011]

2021-06-07 Tema obsahu Jan Fiala
Download links:
https://www.fosshub.com/PSPad-devel.html
https://pspad.poradna.net/devel/pspad507b647.zip
PSPad 64 bit version doesn't contains scripting yet.
https://pspad.poradna.net/devel/pspad507b647x64.zip

SHA1 hash:
cab963263c2cb314c813c703779bb47e06b63a92  pspad507b649.zip
9bb24b22e0e15bf4c9dcc0ab56ab092454f897f4  pspad507b649x64.zip


This archive _contains modified files only_. The correct way how to get
full functionality:
1. Download and _install latest full version first!_
2. Replace existing files with content of archive

_Changes to 5.0.7 (647)_

_News:_
Scripting - new functions mainWindowHandle(): HWND, editorWindowHandle(): HWND 

_Fixes:_
Fixed UNDO with active autoindent on the last editor line with real tabs
Fixed combination of Real tabs and smart tabs with Autoindent - unwanted spaces
insertion
Fix of potential configuration corruption
Other fixes reported by users

_Known issues:_
UNDO with real tabs after autoindent

-- 

PSPad freeware editor https://www.pspad.com


PSPad unicode 5.0.7 (649) Cesky [76010]

2021-06-07 Tema obsahu Jan Fiala
Odkazy ke stažení:
https://www.fosshub.com/PSPad-devel.html
https://pspad.poradna.net/devel/pspad507b647.zip
PSPad 64 bit verze zatím neobsahuje skriptování.
https://pspad.poradna.net/devel/pspad507b647x64.zip

SHA1 hash:
cab963263c2cb314c813c703779bb47e06b63a92  pspad507b649.zip
9bb24b22e0e15bf4c9dcc0ab56ab092454f897f4  pspad507b649x64.zip


Tento archiv obsahuje pouze změněné soubory, proto:
1. Stáhněte si a nainstalujte poslední plnou verzi programu (můžete
použít i portable verzi).
2. Přepište existující soubory obsahem tohoto archivu

_Změny od verze 5.0.6 (647)_

_Novinky:_
Skriptování - nové funkce mainWindowHandle(): HWND, editorWindowHandle():
HWND 

_Opravy:_
Oprava ZPĚT se zapnutým AutoIndent na posledním řádku se skutečnými
tabulátory
Oprava kombinace skutečných a chytrých tabulátorů při AutoIndent -
vkládaly se nechtěné mezery
Oprava možného porušování souboru s nastavením
Další opravy hlášených chyb

_Známé problémy:_
UNDO po odentrování s utomatickým zarovnáním

-- 

PSPad freeware editor https://www.pspad.com


Re: Indentation and autoreplace [76009]

2021-06-07 Tema obsahu idefix2
The problem seems to be solved, thank you

-- 

PSPad freeware editor https://www.pspad.com


Re: Ve status baru chybí údaje o velikosti vybraného textu 5.0.7 (647= ) [76008]

2021-06-07 Tema obsahu Jan Fiala
To je moje chyba, zustaly tam debug informace. Prisel jsem na to samozrejme
pozde.
A rikal jsem si, kdy se nekdo ozve  ;-)

-- 

PSPad freeware editor https://www.pspad.com


Ve status baru chybí údaje o velikosti vybraného textu 5.0.7 (647) [7= 6007]

2021-06-07 Tema obsahu David Grudnik
Dobrý den,

ve status baru chybí údaje o délce vybraného textu. Zdá se mi, že tam je
jedna informace 2x.

https://ctrlv.cz/EG6V

Funkci pro zjištění délky používám docela často, dala by se
doplnit/opravit, prosím? 


Ver. PSPad 5.0.7 (647)

David

-- 

PSPad freeware editor https://www.pspad.com


Re: Select all cursor position [76006]

2021-06-07 Tema obsahu Jan Fiala
Hello

If you make any selection, cursor must be on the begin or on the end of the
selection.
You can create quick bookmark by Alt+Left arrow (Alt+Right remove it) and go
trough bookmark with Alt + UP/Down arrow

-- 

PSPad freeware editor https://www.pspad.com


Select all cursor position [76005]

2021-06-07 Tema obsahu Galiza
Hi, first i want to thank you for Pspad!
When i press ctrl+a to select all, text is selected ok but cursor position moves
to the end of the document.
Is it possible to configure Pspad to dont change cursor position? Thanks, best
regards.

-- 

PSPad freeware editor https://www.pspad.com


Re: Indentation and autoreplace [76004]

2021-06-07 Tema obsahu idefix2
No, I use soft tabs

I was away for a few days, sorry for not answering earlier. I'll try the latest
version and give feedback afterwards.

-- 

PSPad freeware editor https://www.pspad.com