yashsingh1/xdaforums huggingface dataset:
[Windows Mobile Apps and Games] shamasis:
Release 1.6 BETA 2

Thanks a ton for your compliments.

Your wish is my command! Fixed thw word-wrap remembering issue. I will tell you some more details. Initially, I had faced this quaint error that the text-area's context menu was being dropped, the moment I set word-wrap. I found no solution to fix this. However, as Word-wrap was a required feature, I had to include it. So, what I did was not to remember the settings, so that at least on the first run, things would work smoothly. Now, after fixing the context-menu issue by using CreateWindowEX native Windows Mobile API, I fixed the word-wrap issue. Now remembering the setting was not a problem... just that I had forgotten to do it earlier! So... thanks a ton to you to remind me.

Thanks again. If you have noticed, my goal is to have features using most of native Windows Mobile components. Many developers ger acrried away wby adding lots of features. I am trying to strike a balance... and interstingly everyone in xda-dev are a great support.

Check attached 1.6b2 release.
[Windows Mobile Apps and Games] 6Fg8:
Right, i read about the issue. Great you figured it out.

Tested it right now and it works like a charm! Thanks a bunch for being lightning fast :)

You're absolutely right, and i really appreciate you keep focused on keeping it slim.

Hope you dont mind if i add some suggestions for further releases:

- remember full screen setting, similar to wordwrap

- autocreate a shortcut if one doesnt exist in "\Windows\Startmenu\Programs\". This would be handy after flashing. I know that this could be tricky because of different languages have different startmenu paths. And creating a shortcut manually isnt the big deal though. So only if you're bored and out of ideas what to do next :D
[Windows Mobile Apps and Games] shamasis:
- Creation of File-Association and start-menu shortcut is a great idea and I had been thinking about them. However, I intend to put it as a separate exe or separate form for settings as there is no point adding emory load for normal/regular use to the app by adding these settings.

I intend to make a generic dll that would allow users to set file-associations and start menu settings of NotepadMobile.

- Remembering fullscreen settings is not an ordeal. Will do that any day.

After these, I would want to release a cab package of the same. So essentially allowing users to download an installer cab or a portable standalone exe.
[Windows Mobile Apps and Games] Foliator:
File associations

This editor keeps getting better, and still launches faster than average for a .NET CF app, about 5 seconds on my device. One of its definite advantages is that it will accept a file parameter in the command line without quotes ("\Program Files\Notepad.exe" %1), whereas many other 3rd-party editors require them around the file parameter (e.g. "\Program Files\OtherEditor.exe" "%1")

This has made it possible for me to substitute Notepad Mobile for the built-in editor in Total Commander, and to use it as a view source app in my browser, neither of which are able to insert quotes around the file parameter.

Hopefully that won't be changed when you develop a file association routine. In my case, I've already added the association manually by editing the registry, anyway.
[Windows Mobile Apps and Games] shamasis:
Yes. File association will always be that way. When I was adding file associations, I observed that many was facing error while opening files and hence I made this feature to make it passable without quotes.

This would not have had been possible without feedback from others. :) So... thanks a ton.
[Windows Mobile Apps and Games] shamasis:
Found Issue With non touchscreen devices.

Dennis reported this error:

smartphone iPAQ 510 Voice Messenger with Windows Mobile 6.1 (Non Touchscreen). The error displayed is the showed below: -------------------------------------------------------------------------- Error Notepad.exe NotSupportedException at Microsoft.AGL.Common.MISC.HandleAr() at Microsoft.WindowsCE.Forms.InputPanel..ctor() at Notepad.Form1.InitializeComponent() at Notepad.Form1..ctor() at Notepad.Program.Main() ----------------------------------------------------------------------------

Any known solution from others? This is caused by the absence of InputPanel component in .NET CF for non-touchscreen. Is there anyway to fix this without modifying the designer code.
[Windows Mobile Apps and Games] Foliator:
I've noticed that the input panel is called up automatically whenever Notepad starts, whenever a file is loaded, etc. Would it help if it were left to the user to bring up the SIP manually if/when he needs it? Perhaps that might prevent unsupported calls for it on non-touchscreen devices.

Besides, I'm often just reading a file with no intention of editing it, so the SIP can get in my way at times.
[Windows Mobile Apps and Games] vn1minh:
In your code, before initialize InputPanel component, check to see if touch.dll is in \windows. Touch screen devices will have touch.dll, non-touch screen will not.

and do the same for Contextmenu

Hope this helps :o,

vn1minh
[Windows Mobile Apps and Games] mccune:
Nice to see you updating this program. Been using this to edit my reg files on my PPC's :)

One small thing. When you enter the about page it still says V 2.0.7045.0

This is a bit confusing since we are at 1.6b2.

Nice work anyway!
[Windows Mobile Apps and Games] Foliator:
Mine says 3.5.7283.0. That's the version of .NET CF I'm using. ;-)
[Windows Mobile Apps and Games] shamasis:
1.6b3

Foliator, this happens automatically when I assign ContextMenu to the TextArea. now, as there is no way I know by which I can trace what was the previous state of SIP, so I went with the default behaviour. What I can do is, add an extra settings that says "Hide Touch Keyboard on load"!

Thanks a ton! In this Beta 3 release, I have fixed (I hope so) the issue by not using the designer to create inputPanel and have initialized it under a try-catch block. This solves the issue. I have done it this way because it is faster and less resource dependent (looking up a file upon every load could have become heavy.) what say you?

Also, other than InputPanel, what other controls should I be aware of being absent on certain WM devices?

Hahahha!!! I have renamed "Version" to ".NET CF Version" and added a true App Version. :) :)

What has been done in this release?

1. Saving Fullscreen settings

2. Did SIP check for non-touch devices. (SOMEONE PLEASE REPORT :D)

3. Fixed all issues on Windows Mobile 6.5 (works like a charm!)

4. The "About" dialog shows application version as well.

PS: I want to freeze 1.6 Release on Beta 3 with WM6.5 support or maybe BETA 4 if there is any unlikely bug lurking here and there! Let me know if this works fine for you.
[Windows Mobile Apps and Games] Foliator:
Re: 1.6b3

Everything works perfectly on my device, including saving the fullscreen settings, but then I'm running WM5 on a touchscreen device, so I can't speak for the others.

I'm glad you left the .NET CF version in there when you added the app version, because it's useful information.

Regarding hiding the SIP on startup, it's not important enough to risk compromising the existing stability and speed of the app, which is still the fastest loading .NET CF software I've seen so far.
[Windows Mobile Apps and Games] mccune:
LOL Just got a TouchPro2 (Vario V). Didn't know there was an older version of .NET on that device ;)
[Windows Mobile Apps and Games] Nullstring:
does this supports Multi-TAB?
[Windows Mobile Apps and Games] Foliator:
That's nothing; at least you had v.2.0 or above. The ROM on this Axim x51v PDA is from 2005. It has WM5, but only v.1.0 of .NET CF, so I had to install a newer version if I wanted to run any of the recent .NET CF apps.
[Windows Mobile Apps and Games] shamasis:
Notepad Mobile does not support Multi Tab as of now. it will support multi-tab only if I can figure out a way to do that without loosing on performance.

BTW: Someone test this on a Touch-Less device before I release. I haven't been able to run it within any emulator that is touch less.

Idea for v1.7 .... "Recently opened Files" list in the File Menu. Will help many. What say?
[Windows Mobile Apps and Games] stylez:
Thankyou, will come in handy :)

Like the way landscape is supported now ;)
[Windows Mobile Apps and Games] farqui:
Definitely. Well done btw, your app is very handy.
[Windows Mobile Apps and Games] Foliator:
Could be useful. Right now the File Dialog Changer is bringing me back to the last folder accessed, but an MRU list would improve on that.

There is one other thing that might be useful, but only if it could be done without compromising the program's excellent performance: The ability to save and load files in alternative encodings, particularly ANSI. The app can already display ANSI files, and its saved files are compatible with ANSI editors too, but if I include characters like ü, ß or © when saving them, Notepad Mobile saves them in UTF-8. If I open an ANSI-encoded file that has such characters, they are not recognized by Notepad Mobile.

One example: I was recently editing my layout for PCM Keyboard, which I usually do with the editor in Total Commander; the layout files are in plain text. I decided to use Notepad Mobile this time. When I decided to add some foreign characters, I forgot about the encoding differences, and corrupted the file. Luckily I had a backup copy. ;-)
[Windows Mobile Apps and Games] o.k.:
Hi, looks like a nice software, haven't really tried though.

Just one question: does it have a limitation on file size to open?
[Windows Mobile Apps and Games] shamasis:
Thanks.

Thanks.

Try out the software and let me know. It has certain amount of limitation to file size. People have reported to have opened as large as 1.2 MB text file and have also reported that only less than 500KB file opens. Seems device dependent.

Oops. Good you had a backup. I am working to provide a way to change encoding. The native text stream handler does not allow customization. I don't want to fallback to custom stream reader/writer as that might just bring up bugs. Let me see what I can do.

However, I still haven't been able to test this on non-touchscreen devices. Can anyone report? Thanks.
[Windows Mobile Apps and Games] player911:
Looks awesome. I always try to include a Notepad editor of some sort in my roms. Right now I'm using PocketNotepad which doesn't give me the results I want (but still works).

After reading up on your app I think we might have a winner. Can't wait to check it out.
[Windows Mobile Apps and Games] shamasis:
Released Version 1.6

Released Version 1.6

Windows Mobile 6.5 Ready

Fullscreen support

Word Count

Bug Fixes

... worth upgrading. :)

Download from: http://www.shamasis.net/projects/notepad-mobile/
[Windows Mobile Apps and Games] mccune:
Just installed. Thanks for this mate!
[Windows Mobile Apps and Games] YoLoLo:
Congrats for the new release !

It's definitively a HANDY tool for users, and let sleep the powerfull-but-heavy PWORD into its folder ! ;)

If you remember well, i've previously posted onto your website, willing to help for French translation...

I think it's more handy to post here, as you can attach the language files when it will be ready ;)

I often visit this board, fullfilled of talentuous developpers... So, you're at the RIGHT place here ! :D
[Windows Mobile Apps and Games] Paolooo:
The extra settings that says "Hide Touch Keyboard on load" is a Good idea!

Need language support too (italian for me) and "ini" extension in Save as... ;)
[Windows Mobile Apps and Games] Foliator:
Tips for Notepad Mobile

Here are just a couple of little tips I've come up with for using Notepad Mobile.

To edit multiple documents without the need to encumber the program with a tab interface:

1) Assign Notepad Mobile to a hardware button of your choice.

2) Click the button twice in rapid succession to run two instances of the program.

3) Load the file of your choice into each one, then switch between them using any task switcher.

I've managed to start as many as five instances with five quick presses of the button. I haven't tried for more, but then I usually don't need more than two at a time, anyway. Naturally it takes a bit more time to launch the program this way, but it works perfectly. ;-)

For those of you who need a font size between 100% and 150% -- I do, because of my VGA screen and my lousy close vision -- simply close the program and find the registry key "HK_Current_User/Software/Notepad", then change the zoom value. The default is 9, which gives me a font size of 9. I substitute 10 or 11, depending on the situation.

Just avoid the zoom setting in the program's menu, otherwise you'll return to the default setting again.
[Windows Mobile Apps and Games] 6Fg8:
Hi shamasis,

thanks for the latest changes, you're doing really great.

I've one question though: when exporting registry keys, some tools only write LF as end-of-line marker (e.g. SASHIMI custom regexport). When opening such a file with notepad, LF is displayed as a nonprintable char (square) but not interpreted as CR/LF.

Would it be possible to treat LF's as CR/LF? This would really add big value (at least for me :D).
[Windows Mobile Apps and Games] TheRem:
cool! thanks shamasis! :)
[Windows Mobile Apps and Games] ugumba:
All notepad utilities I've tried on my Touch HD, including this, are limited to files of about 100 KB. They all appear to load fine, but when scrolling past this limit, the text control stops updating correctly, and the editor becomes useless. WM6.1.
[Windows Mobile Apps and Games] shamasis:
:) Thanks a ton. I have made my app Localisation enabled in the upcoming BETA 1.7b, that I will post soon. I will cab it up then as well. So, both option for downloading cab as well as portable exe.

You are always welcome. :)
[Windows Mobile Apps and Games] shamasis:
Will put them up soon. Thanks for pointing towards ini.

Oh my God! You have worked so much for this. I think now I should make something more accessible for you. I surely do not want you to tale so much of a trouble to do this.

Give me some time, I will come up with something that will make your life easier (wrt. Notepad Mobile!)

Welcome. :)

Hmm... makes me now think a lot lot lot! 100kb is not that large. Let me see what can I do without sacrificing performance.
[Windows Mobile Apps and Games] shamasis:
Touched

I was really touched to see to what length Foliator had gone to really make the most out of a simple Notepad application.

I have come up with an idea: I think will make a separate application that manages a lot of Notepad Mobile settings. I will pack it with a cab installer.

This would serve 2 purpose:

1. The main Notepad Mobile app will not be bothered with settings that are accessed once in a while.

2. There will be lots of setting s to adjust:

a. Base Font size

b. File associations

c. Default SIP status (open/closed)

d. List of file types for open/save dialog.

... add more :)
[Windows Mobile Apps and Games] Foliator:
When it comes to trying out software, Shamasis, I'm an inveterate tinkerer. Some people think I'm just a glutton for punishment. ;-)

Do you mean a configuration utility for modifying the registry settings? Not a bad idea. I've noticed that Tillanosoft does something like that with their Program Menu launcher, although in that case, the module isn't run separately; Program Menu has a settings option that invokes it.

Another approach is storing the settings in an .ini file instead of the registry. I've seen that, for example, in the e-mail client I use, nPOPuk, in which the .ini file is kept in the program folder with the executable. An .ini file is easy to edit, too, provided that the user knows what he is doing, although that's not always the case. ;-)

The other advantage is complete portability. The whole thing can be run on a different device or storage card without losing the user's preferences.
[Windows Mobile Apps and Games] shamasis:
Well... accessing settings from ini file is performance-wise much slower than registry access... I have personally tested.

And a separate exe is because it will not add to the load-time of the original Notepad executable. Settings that are not used very often could be set aside in a separate executable. Although, I will allow users to launch this settings page from Notepad menu as well.
[Windows Mobile Apps and Games] Foliator:
Looks like a good plan, Shamasis!
[Windows Mobile Apps and Games] Foliator:
Notepad & .NET CF 3.5

Today I ran into what I thought was a bug in Notepad 1.6, but the behavior seems to be associated with .NET CF version 3.5, so not to worry! :)

Exiting Notepad with the find dialogue still on the screen brought up an exception message from .NET CF. When I tried to reproduce this, I found that it only occurred if the focus was not in the editing window once the search was complete -- i.e. the cursor wasn't visible. If I tapped on the editing window to focus on it before exiting the program, the error did not occur.

I've had problems exiting other apps when running .NET CF 3.5, so naturally I was suspicious, and just to check this out, I downgraded to .NET CF 2.0 SP2, which eliminated the problem altogether. I don't actually need 3.5 for anything, so I'm going to stay with 2.0 (my device shipped with 1.0 in ROM, believe it or not).
[Windows Mobile Apps and Games] shamasis:
Can you paste the Error Message when you ever upgrade to dotnet cf 3.5? Now that you've taken the pain to uninstall it, I will not tell you to reinstall it just for the sake of telling me the error message. :)
[Windows Mobile Apps and Games] tapdov:
On my iPAQ 210, it seems that Notepad only loads approximately the first 65500 (65536?) characters of the file.
[Windows Mobile Apps and Games] Foliator:
Sorry, Shamasis. Actually, I had recorded the error message before uninstallation, but I couldn't find the file in which I pasted the message. I finally found the file on my backup card, which was out of my device when I reported the error. Here's the error message in full:
[Windows Mobile Apps and Games] MykeChester:
compatible with NET CF 3.7?
[Windows Mobile Apps and Games] 6Fg8:
any chance for this?
[Windows Mobile Apps and Games] thedicemaster:
just what i needed for editing androkkid settings.

i do have a suggestion though:

could you add *.ini to the file-open list?

makes it much easier to find and edit configuration files.
[Windows Mobile Apps and Games] shamasis:
I intend to do it ASAP. Will let you know.
[Windows Mobile Apps and Games] shamasis:
I went through many standard editors. They don't auto convert LF to CRLF. maybe I can add a setting to do the same for some users.
[Windows Mobile Apps and Games] WAIKIKI728:
This is a "text editor" for Windows Mobile. It allows you to open text (.txt) files and other text based files (.xml, .bat, .log, etc.)

...............page not found...i can´t download the 2.6 version...can you uploaded again?¿?
[Windows Mobile Apps and Games] mccune:
Now don't be lazy! The URL in the first post is indeed broken. But when you search his website you'll find THIS very easily!
[Windows Mobile Apps and Games] shamasis:
The latest version is 1.6 dear and not 2.6. I am sure 2.6 (whenevr it comes out) will be really good. ;)

The link got broken due to a stupid .htaccess non-hotlink rule made by my CMS. I am fixing it.

I would have loved to upload the files here. But you see, it would burden xda-developer with bandwidth (though meagre.)

Thanks for pointing out to the link. Whenever someone has a problem in this forum... everybody comes to his/her help. Somehow I think, you all are really really good people. :)
[Windows Mobile Apps and Games] WAIKIKI728:
Now don't be lazy!....................... The URL in the first post is indeed broken............

!!!thank you!!!:p
[Windows Mobile Apps and Games] 6Fg8:
I know you're right :) If you could add that would awesome, thanks.
[Windows Mobile Apps and Games] henrik.dk:
I am searching for an editor. Is this still a free application? If it is, I will definitely give it a try?
[Windows Mobile Apps and Games] henrik.dk:
Just tried it. A bit too slow.
[Windows Mobile Apps and Games] Foliator:
It loads in 4 seconds on my device. I haven't seen a NET CF app that can load any faster. I think NET CF is to blame, not Notepad Mobile.

Tillanosoft's PocketNotepad doesn't use NET CF and loads in a split second, but it lacks Search & Replace (has only a Find function), and can't deal with extended characters in UTF-8 encoded files -- accents, etc. It can only read and save them in ANSI (the system default).
[Windows Mobile Apps and Games] shamasis:
Notepad Mobile will always be free. And that is because good people use it. And no money can pay their goodness. :)

You sure? Does your other .NET CF apps load fast? What is your device?
[Windows Mobile Apps and Games] henrik.dk:
Hi Shamasis,

I am using touch HD. It took quite a while to start the application.

a while here is just 4 or 5 second. Not sure whether I am too impatient.

But I would agree that it is the fault of .NET. My other .net application load slowly too. :mad: microsoft.

But I do like the utf/unicode support.
[Windows Mobile Apps and Games] shamasis:
4 or 5 seconds is a tad slow... considering fast would have been 1 or 2 seconds. Check if you have too many running applications or not. Also, you may try uninstalling and re-installing dotnet cf 3.5
[Windows Mobile Apps and Games] henrik.dk:
Didn't get better on speed. I run it from SD card.

I just found that it is not possible to

locate a file deep under SD card. Is that right? Wondering whether I missed something there.
[Windows Mobile Apps and Games] stylez:
Up and in "2" secs cooked in Stylez Black ROM in sig "still my fav notepad" :)
[Windows Mobile Apps and Games] Mic43:
How can i control this program via finger? Is it possible on WM6.1 based device? If no do u guys know another notepad app capable of doing that?
[Windows Mobile Apps and Games] kanzen:
Is it possible to add a feature to choose the default file location for "save as" ?
[Windows Mobile Apps and Games] Paolooo:
I hope to view early v.1.7... :)
[Windows Mobile Apps and Games] Foliator:
Shamasis, this isn't a feature request, but merely a question:

On what does Notepad Mobile base its default font faces of Tahoma for proportional and Courier New for monospaced? Is it basing these on the WinMo system fonts, or are they hard-coded in your app?

What brought this up is that I recently changed my device's system font face in the registry (\\\Registry\HKLM\System\GDI\SYSFNT\Nm) from Tahoma to Arial Bold, due to my poor vision, and soft reset the device. This has improved the visibility in many apps wherever they use the system font, so I figured that it might also work in your program. I exited Notepad Mobile and deleted its registry key, but when it was restored after a restart, Tahoma and Courier New were still there. Changing them manually doesn't work, either.

Aside from a new font choice option in the editor, which might compromise its stability and speed (not to mention your spare time), is there any way to change this -- perhaps a registry key I'm not aware of?
[Windows Mobile Apps and Games] lufc:
Very nice pice of kit thanks:)
[Windows Mobile Apps and Games] shamasis:
Thanks.

Thanks dear.

But deep down in my heart, I am kind of apologetic that I have not been able to give time to fix the few features and bug-fixes I had promised.

Most of them are 90% complete and we are sure to get a new release ASAP. :)
[Windows Mobile Apps and Games] Foliator:
Definitely looking forward to it, Shamasis, as Notepad Mobile is still the most reliable text editor I've run across for Windows Mobile. All the others, even the simplest among them, seem to have serious issues.
[Windows Mobile Apps and Games] saurabh88:
thanx my brother..

for too long i have been waiting for this beauty from desk to my ppc