Gena01.com Forum
November 24, 2017, 12:14:51 am *
Welcome, Guest. Please login or register.

Login with username, password and session length
 
   Home   Help Search Tags Login Register  
Pages: [1] 2 3
  Print  
Author Topic: Win32Pad 1.5.10  (Read 75691 times)
0 Members and 1 Guest are viewing this topic.
Gena01
Administrator
Sr. Member
*****
Posts: 423



WWW
« on: May 17, 2006, 09:04:10 pm »

Please report feedback on Win32Pad 1.5.10 in this thread.

Please please check for any regressions and report any problems/bugs you find.

Thank you.

Gena01
Logged
milch-extra
Guest
« Reply #1 on: May 18, 2006, 02:38:19 am »

Ahoi,
the "not wanted feature" I found in the version 1.5.9.1 and report it in 1.5.9.1 thread is still in 1.5.10:

The "Delete Line" function avalible from the "Edit" menu or by pressing "Ctrl-Y" doesn't only delete the line, it cut out the line.
What does that matter? Maybe you have this text:

1 bla
2 Gennady is a smart guy!
3 bla
4 Who is a smart guy?
5 President Bush is a smart guy!
6 bla

If you read it you like to paste "Gennady is a smart guy!" on the right line. So you copy (or cut) line 2. Before you insert it you delete the wrong statement in line 6 with the "Delete Line" function. Afterwards you like to insert the text you've copied before. But what happens?! The stupid guy is still the smart guy!

Oke, it's a daffy example but it should be easy to realize that it would be a real problem if you like to insert a copied phrase into a long programcode. By scrolling down you find a line that should be deleted and you do this.
Than this line would be in your clipboard but not the text you thought!

So I would classify this as a not wanted feature. Maybe it would be even more a bug?

Can you confirm this issue?

Thank you for your great program and viel Freude :)

Bernhard
Logged
Guest
« Reply #2 on: May 18, 2006, 02:46:49 pm »

I have three ideas:

1. Add the option to put the date and time in both ways using hotkeys, one for time first then date, the other for date then time.

2. Add how many lines there are in a file in the statusbar. As it is, you have to scroll to the end of the file to see how many there are. Like so: Ln: 1/200 (line 1 of 200).

3. An option to let users add a few characters to insert using hotkeys, like HTML tags or lines or whatever they want. (like in metapad, this is called quick buffer) As it is, you have to use insert file.
Logged
henrik
Newbie
*
Posts: 22


« Reply #3 on: May 19, 2006, 01:42:49 am »

Quote (Guest @ May 18 2006,21:46)
1. Add the option to put the date and time in both ways using hotkeys, one for time first then date, the other for date then time.

Wouldn't it in that case make more sense to have a customizable time/date stamp? E.g. yyyy-mm-dd hh:MM or what ever you want. I guess that people would like to have different settings anyway.


Quote (Guest @ May 18 2006,21:46)

3. An option to let users add a few characters to insert using hotkeys, like HTML tags or lines or whatever they want. (like in metapad, this is called quick buffer) As it is, you have to use insert file.

Maybe use something like Scintilla uses, abbrivations. That is you type in the text img and hits a hotkey. The program then check to see if there is any of that text in the list. E.g. <img src="|"> where | is where the cursor should be after the replace.
Logged
Guest
« Reply #4 on: May 19, 2006, 10:15:03 am »

Henrik: A customizable time/date stamp would be cool, but in some cases, I like the time-date stamp as it is, but would just like one of the two reversed without having to change it in the options.

As for the Scintilla thing, I have never used it, but the abbreviations sounds a little different from the quick buffers in metapad. Scroll to Advanced 2 and read about quick buffers.
Logged
therube
Full Member
***
Posts: 118



« Reply #5 on: May 19, 2006, 12:07:52 pm »

Unicode :).

Not that I would necessarily use it in the composition of a file, but XP uses it quite often for a lot of their .ini .log ... files.

Now you can open/read them "properly" without needing to use Notepad.


Any things we should be looking for in particular relating to Unicode?

Like if a file opens as Unicode, but should not be, or?
Logged
Gena01
Administrator
Sr. Member
*****
Posts: 423



WWW
« Reply #6 on: May 19, 2006, 02:13:44 pm »

Quote (therube @ May 19 2006,13:07)
Unicode :).

Not that I would necessarily use it in the composition of a file, but XP uses it quite often for a lot of their .ini .log ... files.

Now you can open/read them "properly" without needing to use Notepad.


Any things we should be looking for in particular relating to Unicode?

Like if a file opens as Unicode, but should not be, or?

Well for now it has an auto-detect in place for Unicode. So it should read/write Unicode properly. You can also Save any text file as Unicode.

I was actually thinking of extending things a little bit and adding an option to select a CodePage via dropdown. Maybe a few more little fixes for the next release.

Gena01
Logged
Guest
« Reply #7 on: May 21, 2006, 02:53:52 am »

Win32Pad is absolutely perfect! Every feature that should be in a Notepad replacement is there, and everything that shouldn't be isn't. Don't give in to feature bloat -- if people want all kinds of crazy features, they can use vim or emacs or whatever. 51 KB rules!
Logged
Guest
« Reply #8 on: May 22, 2006, 02:21:12 pm »

I have a few more ideas about features to add to Win32Pad:

1. An option to have the statusbar stats where the users want them: left/center/right.

2. Word counting.

3. And make file paths (C:\Program Files\Win32Pad\) clickable like the URLs are.
Logged
jmaloney
Newbie
*
Posts: 9


« Reply #9 on: May 23, 2006, 07:42:13 pm »

I love Win32pad and I've been using it as my html editor for 2 or 3 years. I love it's smallness, the fact that it uses an ini instead of the registry, and the fact that it looks good with a black background and white text.

There's one thing it does that drives me crazy though. It uses the eight-character DOS file name instead of the long file name. I always run Win32pad by right clicking a file in Explorer, selecting Send To, and picking Win32pad. Win32pad shows the DOS file name in the title bar and when I click Save As it uses the DOS file name in the file name field too. The first six characters followed by ~ and a digit are not enough for me to know which file I'm editing. I use Win98SE.

Thanks for a great program!

Jon Maloney
Logged
freeboy
Newbie
*
Posts: 1


« Reply #10 on: May 24, 2006, 04:04:21 am »

我(I)希望(hope)支持(support)中文(chinese text) to 会好(better)一点

当(when)复制(copy)中文(chinese)时会出现(happen) "text convsion" 错误( error)

我(I)非常(very )喜欢(like) 它(it)!
Logged
therube
Full Member
***
Posts: 118



« Reply #11 on: May 25, 2006, 11:34:57 am »

@jmaloney
Quote

I always run Win32pad by right clicking a file in Explorer, selecting Send To, and picking Win32pad. Win32pad shows the DOS file name in the title bar and when I click Save As it uses the DOS file name in the file name field too. ... I use Win98SE.

I do not see that.

I'm running WinXP.
I created a Shortcut to Win32pad.exe in my SendTo directory.
The Target: (in my case) is C:\BIN\win32pad.exe
(Note I do not use %1 or anything like that in the target, solely the path to win32pad.)

Right-click a file, SendTo Win32pad.
File opens.
Long filename displays in the title bar.
File | Save As also displays the long filename.

So, check your shortcut, make sure it looks ok.
Only other thing I can think of, is maybe it has something to do with your version of RICHED20.DLL?
Quote

In particular, if you are running Win98, you might check your version of RICHED20.DLL.  Older versions can cause problems.

In XP, I have Richedit Version 3.0, File version 5.30.23.1221.
On 98, I have Richedit Version 3.0, File version 5.30.23.1200.
Logged
jmaloney
Newbie
*
Posts: 9


« Reply #12 on: May 25, 2006, 12:18:11 pm »

therube: Thanks for your comments.

Before I posted the problem I installed the latest riched20.dll. It made no difference. I'm using Rich Text Edit Control v. 3.0, file version 5.30.23.1200.

My shortcut in Send To is nothing special:
"C:\Program Files\Win32Pad\win32pad.exe"

After I posted I ran a test to see if the problem is unique to Win32pad. It isn't. When I right-click on an image file in Explorer and Send To Adobe Photoshop, the Photoshop title window shows the DOS file name too. So the problem probably has nothing to do with the way Win32pad is coded. Win32pad is probably just using whatever Windows passes it. The problem may be a never-corrected oversight when Windows implemented long file names. Perhaps the right-click menu code in Win98SE was never updated to accommodate long file names. I'm just guessing. I was hoping it was a problem that Win32pad could correct, since I have the problem many times a day.

Jon Maloney
Logged
jmaloney
Newbie
*
Posts: 9


« Reply #13 on: May 25, 2006, 02:38:06 pm »

I've done some more research on the problem I reported of Win32pad using the short file name when a file is passed to it via the right-click "Send To" menu in Win98SE.

There's a thread in Google Groups that addresses the Send To problem of using the short name here http://tinyurl.com/qjd9j. The posters say the Send To works differently for Notepad, Wordpad, and MS Works, which indicates it's the code in the application program rather than in Windows. One poster said the problem seems to occur in old C++ programs.

I found another clue here on the Crystal Impact site:  http://tinyurl.com/pxe5a
Someone asks if the long file name can be preserved in Diamond when the Send To option is used. The answer says, "The 8.3-name conversion when using "Send To" is caused by rather "old-fashioned" run-time library code containing in version 2.x of Diamond. It will be removed in the Diamond 3 version. (On Windows 2000, this works already correct with the current Diamond version.)"

I found a Microsoft Knowledge Base article that acknowledges the problem in Wordpad, here:
http://support.microsoft.com/kb/q171857/

So the problem of Send To converting long file names to short file names appears to be something the application controls rather than Windows.

However, therube above reported that Send To in Win XP preserves the long file name in Win32pad. That's a clue, but I don't know what it means.

Anyway, perhaps this post will help Gennady get a handle on the problem.  

Jon Maloney
Logged
therube
Full Member
***
Posts: 118



« Reply #14 on: May 25, 2006, 03:33:10 pm »

Looks like you're right.
I loaded up Win98 & here's what I found:
Code Sample

             Title Bar   Save As
            ---------      -------
Win32pad    SFN         SFN
VIM           Long        Long
Notepad     Long        SFN
Wordpad     SFN         SFN
Word         Long        Long

SFN = Short filename
Long= Long filename
Logged
Tags:
Pages: [1] 2 3
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines | Sitemap Valid XHTML 1.0! Valid CSS!