Re: 5.0.7 beta truncates the last new line in the text editor [78221]

2023-04-02 Tema obsahu Steffen
Fixed in 5.5.1 (783). Thank you Jan!

BR
Steffen

-- 
<https://forum.pspad.com/read.php?4,77618,78221>
PSPad freeware editor https://www.pspad.com


Re: 5.0.7 beta truncates the last new line in the text editor [78127]

2023-03-19 Tema obsahu Steffen
Hello Jan,

This regression is now part of the current stable build.

BR
Steffen

-- 
<https://forum.pspad.com/read.php?4,77618,78127>
PSPad freeware editor https://www.pspad.com


Re: C0 control characters in ASCII table [77732]

2022-10-23 Tema obsahu Steffen
Hello Jan,

I've seen space and tab characters are back in the list. That makes life easier
for me already :-) Thanks!

Steffen

-- 
<https://forum.pspad.com/read.php?2,77610,77732>
PSPad freeware editor https://www.pspad.com


Re: 5.0.7 beta truncates the last new line in the text editor [77731]

2022-10-23 Tema obsahu Steffen
Hello Jan,

This rendering issue is still there in build 737 :-(

-- 

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


5.0.7 beta truncates the last new line in the text editor [77618]

2022-09-11 Tema obsahu Steffen
If the last line in a text file ends with CR LF, the empty line should be
visible and accessible in the editor window. Did I miss something in the
settings?

BR
Steffen

[url=https://ibb.co/w6j0k8z][img]https://i.ibb.co/YjwRCJL/No-Second-Line.jpg[/im
g][/url]
[url=https://ibb.co/7KD66mf](viz https://i.ibb.co/L1y227F/Settings.jpg )[/ur
l]

-- 
<https://forum.pspad.com/read.php?4,77618,77618>
PSPad freeware editor https://www.pspad.com


Re: C0 control characters in ASCII table [77612]

2022-09-05 Tema obsahu Steffen
That would be great, Jan!

There might be a little difficulty in terms of automatically generated tables
because the order of the control characters in EBCDIC varies from any other
encodings. Depending on what possibilities you have to generate the tables it
could be necessary to handle EBCDIC separately :-/

BR
Steffen

-- 
<https://forum.pspad.com/read.php?2,77610,77612>
PSPad freeware editor https://www.pspad.com


C0 control characters in ASCII table [77610]

2022-09-04 Tema obsahu Steffen
tl;dr: Please re-establish the support of
[url=https://en.wikipedia.org/wiki/C0_and_C1_control_codes]C0 control
characters[/url] in the ASCII table.


If I recall correctly, until version 4 we had the possibility to select
characters with lower value than 0x20 (space) in the ASCII table. That's been
quite handy for the following reasons:

- I prefer to have spaces for code indentation. For that reason my configuration
of the tab-key behavior is to write 2 spaces instead of a tab character. This
makes it kind of impossible to write a tab character in text without the
opportunity to select a tab (0x09) in the ASCII table.

- Command-line interface (such like the Windows 10 console host and Virtual
Terminal emulators) support Virtual Terminal sequences (a.k.a. ANSI escape
sequences). They do usually begin with an ESC (0x1b) character. Also other low
order ASCII characters like BEL (0x07) are frequently used. As to my
understanding, PSPad does not provide any possibility to get and insert such
characters anymore.

Thanks!
Steffen

-- 
<https://forum.pspad.com/read.php?2,77610,77610>
PSPad freeware editor https://www.pspad.com


=?windows-1250?Q?Re:_Where_is_the_option_in_PSPad?_[71508]?=

2019-04-29 Tema obsahu Steffen
Guys don't get me wrong, but please stop feeding the troll. 
[url=https://forum.pspad.com/read.php?2,71303,71317#msg-71317]"I have stopped
using PSPad for a long time."[/url] ... should have told you the truth about
him. He's just bored and plays his game that you are not able to win as long as
you don't ignore him.

Perhaps I'm a killjoy. I admit a short while I was amused, too. But I subscribed
to this forum in order to get some interesting insights in the development of
PSPad. But lately maki's nonsense spams my email account. Sorry to say that, but
I'm fed up now and am about to unsubscribe to email notifications.

Steffen

-- 
<https://forum.pspad.com/read.php?2,71464,71508>
PSPad freeware editor https://www.pspad.com


=?windows-1250?Q?Re:_Copy_characters_out_of_the_HEX_editor?_[71180]?=

2019-03-01 Tema obsahu Steffen
@Jan

Seems that you managed to enable this feature and also fixed some issues of the
HEX editor. Thank you!

Steffen

-- 
<https://forum.pspad.com/read.php?2,70460,71180>
PSPad freeware editor https://www.pspad.com


Re: MSDOS Character Set [71159]

2019-02-20 Tema obsahu Steffen
Most likely the file was already corrupted while trying...
The OEM-850 ß shows up as á if opened in ANSI-1252. Converted to OEM-850 the
á has char code 0xA0.

Steffen

-- 
<https://forum.pspad.com/read.php?2,71145,71159>
PSPad freeware editor https://www.pspad.com


Re: MSDOS Character Set [71152]

2019-02-20 Tema obsahu Steffen
Jan

The character code for ß is 0xDF (223) in Windows 1252 (default ANSI in
Germany) and 0xE1 (225) in CP 850 (default OEM in Germany). So if you found 225
for ß then the file is OEM-encoded.

If I'd open such a file then the characters show up incorrectly because it opens
in the ANSI default. But as soon as I check the hook in menu View->Show OEM
chars then everything is perfectly readable. But that still doesn't solve the
OP's issue...


@idefix2

You have to change your default encoding first. In a German menu:
Einstellungen->Programm einstellen->Dateien und Verzeichnisse->Standard-Code
Page für Dateiöffnung->(im Dropdownmenü) OEM default (1)
After clicking on OK, close PSPad and then open your file again. This is what
works for me and with this setting you don't have any problems to write German
umlauts and ß.
The drawback is that you have to reverse this setting as soon as you want to
open an ANSI-encoded file ;-)

Steffen

-- 
<https://forum.pspad.com/read.php?2,71145,71152>
PSPad freeware editor https://www.pspad.com


=?windows-1250?Q?Re:_Darf_ich_nur_nach_englischen_Ausdr=FCcken_suchen?_[70688]?=

2018-09-23 Tema obsahu Steffen
cite:

Darf ich nur nach englischen Ausdrücken 
suchen?

You're asking this question in the _English_ support forum. How many German
terms and topics did you see here? (except of your own)
Answer is: Of course you can search in German but don't expect to find the terms
you were looking for because everything is in English here.

Furthermore you should ask your questions in English, too. That's the easiest
way to avoid misunderstandings. As you can see Jan didn't answer your first
questions because all he understood was "upload files".

Steffen

-- 
<https://forum.pspad.com/read.php?2,70684,70688>
PSPad freeware editor https://www.pspad.com


out of memory exception using Ctrl+Z in hex mode [70493]

2018-07-22 Tema obsahu Steffen
I got the following exception.
Exception class: EOutOfMemory
Exception address: 00721625


Stack list, generated 22/07/2018 16:45:06
[00721620] MPHexEditor.AllocRedoPointer (Line 8917, "MPHexEditor.pas" + 2) + $9
[00407086] System.ErrorAt + $16
[004070CA] System.Error + $E
[00721620] MPHexEditor.AllocRedoPointer (Line 8917, "MPHexEditor.pas" + 2) + $9
[004C3457] System.Classes.TCustomMemoryStream.Read + $37
[00721CA3] MPHexEditor.TMPHUndoStorage.ReadUndoRecord (Line 9095,
"MPHexEditor.pas" + 22) + $2
[00721900] MPHexEditor.TMPHUndoStorage.CreateRedo (Line 8986, "MPHexEditor.pas"
+ 29) + $1
[00720A63] MPHexEditor.TMPHUndoStorage.Undo (Line 8547, "MPHexEditor.pas" + 13)
+ $6
[0071DFD6] MPHexEditor.TCustomMPHexEditor.Undo (Line 7077, "MPHexEditor.pas" +
0) + $6
[009861DD] uMain.TfPSPad.aUndoExecute (Line 5262, "uMain.pas" + 2) + $F
[00996B4C] uMain.TfPSPad.ActionListExecute (Line 11199, "uMain.pas" + 11) + $7
[0052F0E4] System.Actions.TContainedActionList.ExecuteAction + $70
[00409B56] System.@CallDynaInst + $6
[00531EBD] Vcl.ActnList.TCustomAction.Execute + $69
[004D45A3] System.Classes.TBasicActionLink.Execute + $13
[0064E763] Vcl.Menus.TMenuItem.Click + $93
[006503EF] Vcl.Menus.DoClick + $EF
[006504DB] Vcl.Menus.TMenu.IsShortCut + $87
[0063401D] Vcl.Forms.TCustomForm.IsShortCut + $4D
[00409B56] System.@CallDynaInst + $6
[0063841E] Vcl.Forms.TApplication.IsShortCut + $4E
[00637952] Vcl.Forms.TApplication.WndProc + $482
[004D549C] System.Classes.StdWndProc + $14
[0064FDEC] Vcl.Menus.Find + $7C
[0065D8DC] Vcl.Controls.SendAppMessage + $18
[00669C65] Vcl.Controls.TWinControl.IsMenuKey + $7D
[00669C9D] Vcl.Controls.TWinControl.CNKeyDown + $1D
[00662C06] Vcl.Controls.TControl.WndProc + $2BE
[006677EB] Vcl.Controls.TWinControl.WndProc + $63B
[00666DB8] Vcl.Controls.TWinControl.MainWndProc + $2C
[004D549C] System.Classes.StdWndProc + $14
[00638328] Vcl.Forms.TApplication.IsKeyMsg + $84
[00638293] Vcl.Forms.TApplication.IsMDIMsg + $3F
[006385D7] Vcl.Forms.TApplication.ProcessMessage + $CF
[0063863E] Vcl.Forms.TApplication.HandleMessage + $A
[00638971] Vcl.Forms.TApplication.Run + $C9
[009C1A72] PSPad.PSPad (Line 95, "PSPad.dpr" + 39) + $7


Program  : C:\PROGRA~1\PSPADE~1\PSPad.exe  5.0.0 (277)
System   : Windows 10 Home Edition x32, Version: 10.0, Build: 42EE, 
Processor: Intel, Intel(R) Atom(TM) CPU  Z3735F @ 1.33GHz, 1333 MHz MMX
Display  : 1366x768 pixels, 32 bpp


Active Controls Hierarchy:
TMPHexEditorEx ""
TfChildHexa "fChildHex_O1414198"



Step by step to reproduce:
1) I opened a binary file in hex mode (256 ascending bytes, 0x00 - 0xFF in my
case)
2) Ctrl+A to mark all
3) Ctrl+C to copy all
4) Ctrl+V to paste/overwrite
5) second Ctrl+V (which seems to be necessary to generate the exception)
6) Ctrl+Z to undo makes the exception appear
Note that I didn't use mouse or cursor keys. Thus, the selection done by Ctrl+A
was never changed during that test.

Steffen

-- 
<https://forum.pspad.com/read.php?4,70493,70493>
PSPad freeware editor https://www.pspad.com


=?windows-1250?Q?Re:_Copy_characters_out_of_the_HEX_editor?_[70488]?=

2018-07-19 Tema obsahu Steffen
Thank you for confirming feef.

Thank you Jan. It's not so important for me, that's why I wrote in my initial
post that it's rather not a feature request. However if already two people here
would have a use for it you could at least think about to implement it :-)

Thanks again
Steffen

-- 
<https://forum.pspad.com/read.php?2,70460,70488>
PSPad freeware editor https://www.pspad.com


=?windows-1250?Q?Re:_Copy_characters_out_of_the_HEX_editor?_[70483]?=

2018-07-18 Tema obsahu Steffen
Thank you vbr!

The fact that you can only copy one hex digit is something new (and maybe a bug)
in version 5. In version 4 you were able to copy all marked hex digits. I
already thought about to mention that, too.
But I didn't want to confuse things in the first place because my actual
question was if you would be able to copy the textual expression (marked
characters in the picture) from the right side instead of the hex digits on the
left side. And yes, I also thought that Jan would have been able to answer that
question with a quick yes or no ;-) Nevermind.

Steffen

-- 
<https://forum.pspad.com/read.php?2,70460,70483>
PSPad freeware editor https://www.pspad.com


=?windows-1250?Q?Re:_Copy_characters_out_of_the_HEX_editor?_[70473]?=

2018-07-16 Tema obsahu Steffen
Hmm. Does not getting any reply mean "no, there is no possibility"? Actually a
"Yes" or a "No" would have been already sufficient to answer my question :-/

Steffen

-- 
<https://forum.pspad.com/read.php?2,70460,70473>
PSPad freeware editor https://www.pspad.com


=?windows-1250?Q?Copy_characters_out_of_the_HEX_editor?_[70460]?=

2018-07-14 Tema obsahu Steffen


Re: Regex issue (percentages) [70431]

2018-07-05 Tema obsahu Steffen
maki:

Regex can be compliced for 1000 of different 
path...

No, that's exactly what Regex is made for. You just have to specify the rules
and that's it. The right pattern will work for 10 lines as good as for 1000
lines.

(^|(^.*[^\.\d]+))\d{1,2}(\.\d%|%)

Steffen

-- 
<https://forum.pspad.com/read.php?2,70380,70431>
PSPad freeware editor https://www.pspad.com


Re: Regex issue (percentages) [70413]

2018-06-29 Tema obsahu Steffen
The lines in #6 clearly show the percentages at the end of the line. Now the
requirements changed and as Jan already said also the beginning of a line has to
be matched as alternative and using OR in case the percentage is at the
beginning of the line.
(^|[^\.\d])\d{1,2}(\.\d%|%)
[url=https://ibb.co/j1emXJ](viz https://preview.ibb.co/bY7vRd/regex.png )[/u
rl]

Steffen

-- 
<https://forum.pspad.com/read.php?2,70380,70413>
PSPad freeware editor https://www.pspad.com


Re: Regex issue (percentages) [70392]

2018-06-25 Tema obsahu Steffen
Absolutely right. But provided the example line above are taken out of the real
file then the percentage is rather on the end of the line ;-)

Steffen

-- 
<https://forum.pspad.com/read.php?2,70380,70392>
PSPad freeware editor https://www.pspad.com


Re: Regex issue (percentages) [70387]

2018-06-24 Tema obsahu Steffen
I think you were almost right, Jan. The only thing missing is that there must
not be a digit or a point in front of your pattern.
[^\d\.]\d{1,2}(\.\d%|%)

Steffen

-- 
<https://forum.pspad.com/read.php?2,70380,70387>
PSPad freeware editor https://www.pspad.com


Re: Open file with mouse click in explorer not possible [69898]

2018-02-20 Tema obsahu Steffen
Thanks Jan! The problem with opening another file drove me crazy yesterday :-))
Now it works again. Although your workaround to initially open PSPad in a normal
window makes that the tool bar is split in two lines and keeps being split after
the window was maximized.

Steffen

-- 
<https://forum.pspad.com/read.php?6,69840,69898>
PSPad freeware editor https://www.pspad.com


=?windows-1250?Q?Re:_German_Umlauts_...?_[69725]?=

2017-12-28 Tema obsahu Steffen
That's what I suggest along with my tool:
cite:

Some rules of thumb when to add or omit BOMs:
- Add the BOM to text files that are intended to be read in text editors on
Windows.
- Omit the BOM in markup text (such as HTML or XML) where the encoding is
specified in the markup or where it defaults to be recognized as UTF-8.
- Omit the BOM for files that are intended to be shared with other operating
systems like Unix or Linux.
- Never use a BOM for text that you append to an existing 
file.


Steffen

-- 
<https://forum.pspad.com/read.php?2,69681,69725>
PSPad freeware editor https://www.pspad.com


=?windows-1250?Q?Re:_German_Umlauts_...?_[69721]?=

2017-12-28 Tema obsahu Steffen
Have fun in Italy :-)) All the best for 2018!

Steffen

-- 
<https://forum.pspad.com/read.php?2,69681,69721>
PSPad freeware editor https://www.pspad.com


=?windows-1250?Q?Re:_German_Umlauts_...?_[69714]?=

2017-12-27 Tema obsahu Steffen
hlk123:

How about using the format UTF-16 
BE

Internally Windows use UTF-16 LE. If you want to use a unicode encoding I
suggest you to use this because BE is only used in some special applications.
Also UTF-8 is a good choice. It's used in websites and *nixoid operating systems
(Unix, Linux, Mac OS, Android). The drawback is that these encodings need more
space (as Jan already said). UTF-16 uses 2 bytes in general and if there are
characters that can't be expressed with 2 bytes it uses surrogate pairs (4
bytes) which may happen for some Chinese characters in your case. UTF-8 uses 1
byte for ASCII and up to 4 bytes depending on what non-ASCII character has to be
expressed.
However, a lot of programs still don't understand unicode. E.g. Windows scripts
must not be encoded in UTF-16 (e.g. Batch) or UTF-8 (e.g. Batch or VBScript)
because the interpreters don't expect it and fail.

hlk123:

dos.tips ... I thought DOS belongs to previous century ... 
:-)

DosTips.com is about Windows Batch. The name is misleading but a lot of people
(including you) call the console window still DOS-Box.
But you're almost right. Batch will die and Powershell is the future.

Steffen

-- 
<https://forum.pspad.com/read.php?2,69681,69714>
PSPad freeware editor https://www.pspad.com


Re: Thank you, Jan [69706]

2017-12-26 Tema obsahu Steffen
I second that.
Developing an editor with so many features isn't a trifle. Continuing of the
development requires a lot of discipline. Providing the result for free needs
enthusiasm and joy in the project. Have a happy 2018!

Steffen

-- 
<https://forum.pspad.com/read.php?2,69705,69706>
PSPad freeware editor https://www.pspad.com


=?windows-1250?Q?Re:_German_Umlauts_...?_[69703]?=

2017-12-26 Tema obsahu Steffen
Just out of couriosity - Did you already follow my suggestion to work with
virgin settings in you user profile?

It really sounds odd to me that the encoding in the status bar is different
every time. I'm afraid you should rather reinstall PSPad again. This time maybe
in a directory where you have full writing permissions. PSPad doesn't need to be
installed in the program files directory.

Steffen

-- 
<https://forum.pspad.com/read.php?2,69681,69703>
PSPad freeware editor https://www.pspad.com


=?windows-1250?Q?Re:_German_Umlauts_...?_[69701]?=

2017-12-26 Tema obsahu Steffen


=?windows-1250?Q?Re:_German_Umlauts_...?_[69696]?=

2017-12-25 Tema obsahu Steffen
hlk123:

I use English in PSPad to simplify discussion in this
forum.

Fair enough.
Because you already reinstalled PSPad the only data that might have been left
from the old installation could be in your user profile.
Rename folder "%appdata%\PSpad" (usually "C:\Users\\AppData\Roaming\PSpad") to e.g. "PSPad_". PSPad will create it new as soon
as you run it. If that doesn't help you can easily roll back to your former
settings by deleting the new folder and rename the old back to "PSpad".

-- 

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


Re: option, Window-> Always on Top [69693]

2017-12-24 Tema obsahu Steffen
Isn't it rather in the View menu item? :-/

-- 

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


=?windows-1250?Q?Re:_German_Umlauts_...?_[69687]?=

2017-12-24 Tema obsahu Steffen
If you're sure you didn't set anything then we should do at least two tests
beforehand. That's because automatic code page detection could be in place in
other editors.

1) Make sure the ANSI code page is set to 1252 on your computer.
- press [Windows]+[R] buttons
- type CMD and click OK
- type WMIC OS GET CODESET in the black cmd window and press Enter
It should output:
CodeSet
1252
Get back with the information whether or not you get the same output.


2) Make sure your text files have the right encoding.

- use the Windows Editor first (press [Windows]+[R] buttons, type NOTEPAD and
click OK)
- type ÄÖÜ (capital letters) in the editor window and choese Datei->Speichern
unter...
- Navigate to your Desktop, give it a name, be sure the Encoding is set to
ANSI.
- Save the file and close the editor window.
- Right-click on the file and choose PSPad HEX to see the written byte values.
It should be C4 D6 DC.
- Open the same file in PSPad text editor mode. You should see ÄÖÜ now.
Again get back with the information whether or not you get the same output.

Steffen

-- 
<https://forum.pspad.com/read.php?2,69681,69687>
PSPad freeware editor https://www.pspad.com


=?windows-1250?Q?Re:_German_Umlauts_...?_[69684]?=

2017-12-24 Tema obsahu Steffen


Re: PSPad 5.0 future [68045]

2017-03-02 Tema obsahu Steffen
pspad:

Antiviruses are 
hysteric.

:-D Yes I second that! I have the same issue with half of my own programs. Of
course I trust you ;-)

Steffen

-- 
<http://forum.pspad.com/read.php?2,67953,68045>
PSPad freeware editor http://www.pspad.com


Re: PSPad 5.0 future [68041]

2017-03-01 Tema obsahu Steffen
Jan

I tried with files that contain ÄÖÜäöüß where auto detection (should
result in Windows-1252) seems to work properly.

I had one issue. That is, "Avira Free Antivir" detected pdb.exe, prc.exe, and
ztext.exe as false positives. I had to deactivate it in order to be even able to
extract the ZIP file.

Steffen

-- 
<http://forum.pspad.com/read.php?2,67953,68041>
PSPad freeware editor http://www.pspad.com


Re: PSPad 5.0 future [68038]

2017-02-28 Tema obsahu Steffen
That sounds quite good to me :-) 
Will there be any possibility for the user to reload the file using another code
page in case PSPad "guessed" the wrong encoding?

There is a typo in the code page menue of your linked preliminary version. If
you choose "UTF16LE (1251)" you will save the file using Big Endian byte order
(where CP 1251 actually belongs to). Same for the BE menu item.

FWIW It seems that the issue with Surrogates in file names (that I reported in
January) was automatically resolved with version 5 :-))

Thanks for your efforts to continuously improve PSPad!

Steffen

-- 
<http://forum.pspad.com/read.php?2,67953,68038>
PSPad freeware editor http://www.pspad.com


Re: [WISH] find filename (in project) [43195]

2007-11-03 Tema obsahu Steffen
I've ment the search in the list of filenames of a project. The search in the
project-tree.

-- 
http://forum.pspad.com/read.php?2,42791,43195
PSPad freeware editor http://www.pspad.com


Re: [WISH] find filename (in project) [43171]

2007-11-01 Tema obsahu Steffen
How can I stop\end a search? I.e. after typing some text (and finding the file)
I cannot re-use that feature. It seems as though the search still uses the
previously entered text.

-- 
http://forum.pspad.com/read.php?2,42791,43171
PSPad freeware editor http://www.pspad.com


Re: Syntax highlight and regex [42923]

2007-10-18 Tema obsahu Steffen
Is this interface accessible from PSPad, i.e. can I define my own 'language'
with synedit and use it in PSPad?
E.g. I would like to define what keywords, identifiers, etc. look like with some
sort of regular expression.

-- 
http://forum.pspad.com/read.php?2,36161,42923
PSPad freeware editor http://www.pspad.com


Re: find / highlight all found entries [38529]

2007-02-15 Tema obsahu Steffen
I want to second that!

best regards
Steffen

-- 
http://forum.pspad.com/read.php?2,37745,38529
PSPad freeware editor http://www.pspad.com