PDA

View Full Version : [Software] Notepad (Text Editor, WM6.5 Ready)


shamasis
2nd November 2008, 10:40 AM
Notepad Mobile
http://notepadmobile.com/

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.)

Its main features being high speed, small size and compatibility with most devices running DOTNET Framework.

Download Notepad Mobile v1.6 (http://www.shamasis.net/download/notepadmobile.zip)


Updated v1.6 (27th August, 2009)

Windows Mobile 6.5 Compatible
Support for fullscreen display
Word and character count
Fixed Bug: Word-Wrap Context-Menu Issue
About Dialog shows application version.

-- Thanks Gerry, Foliator (http://forum.xda-developers.com/member.php?u=1635587), stylez (http://forum.xda-developers.com/member.php?u=966150), 6Fg8 (http://forum.xda-developers.com/member.php?u=932969), vn1minh (http://forum.xda-developers.com/member.php?u=1100478), mccune (http://forum.xda-developers.com/member.php?u=266050)

Updated v1.5: (03/09/2009)

Added ZoomOut Functionality (supported by dexter (http://forum.xda-developers.com/member.php?u=1165754) and blowFish64 (http://forum.xda-developers.com/member.php?u=369204))
Minor Bug Fixes
MArginally reduced application size



Updated v1.4: (18/11/2008)

Added Find and Replace options (with fast 'Replace All' algorithm)
Minor Bug Fixes


Updated v1.3: (06/11/2008)

Added an "Edit" menu for easy access from Hardware buttons
Added "Insert Date" feature from the new "Edit" menu
Added "Open With" and "Send To" compatibility for opening files from any File Explorer (Thanks to joemanb (http://forum.xda-developers.com/member.php?u=283230) for BETA testing)
Remembers last used settings (Font, Zoom)


Updated v1.2: (04/11/2008)

Added font changing feature (normal or fixed-width.)
Added screen orientation change handling support. (Thanks to OceanSpray (http://forum.xda-developers.com/member.php?u=1246305))


Updated v1.1: (28/10/2008)

Added Zoom Functionality
Reduced Executable Size!


Features:

Open/Create/Save text files
Supports cut/copy/paste by right click
Text input area resize as-per SIP (virtual keyboard) space
It is a standalone executable (no installation required)
Extremely light-weight and with minimum memory consumption
Word Wrap toggle


http://forum.xda-developers.com/attachment.php?attachmentid=221036&d=1251321604http://forum.xda-developers.com/attachment.php?attachmentid=221037&d=1251321604http://forum.xda-developers.com/attachment.php?attachmentid=221038&d=1251321604http://forum.xda-developers.com/attachment.php?attachmentid=221039&d=1251321604http://forum.xda-developers.com/attachment.php?attachmentid=221040&d=1251321660http://forum.xda-developers.com/attachment.php?attachmentid=221041&d=1251321660


How to install:
Extract and copy Notepad.exe on your device and run it from there!

If you want the program icon to appear in your "Start Menu -> Programs":
(1) Open File Explorer and navigate to the directory where the "Notepad.exe" is placed.
(2) Copy the Notepad.exe file. (Right Click on the file and select "Copy")
(3) Navigate to "\Windows\Start Menu\Programs", right-click and select "Paste Shortcut"!


System Requirements:

Windows Mobile 5, 6, 6.1, 6.5
DotNet Compact Framework 2 (http://www.microsoft.com/downloads/details.aspx?FamilyID=9655156b-356b-4a2c-857c-e62f50ae9a55) (application will generate consistent error upon load in the absence of DotNet CF 2.0)


Developer URL: http://www.shamasis.net/projects/notepad-mobile/

........................

Archived (older) downloads are attached to this post below.

mykolor
2nd November 2008, 10:50 AM
I try to open .txt file by hold tap-->open with...notepad.exe but it isn't display context .txt file. empty

shamasis
2nd November 2008, 10:56 AM
Updated screenshots

Giannis86
2nd November 2008, 11:31 AM
does it have manila file support?

it would be great to be able to open manila files with this..would save a lot of hasle of copying to pc and then back to phone

shamasis
2nd November 2008, 12:02 PM
does it have manila file support?


No Manila file support as of now. This is more of a general purpose, all-device, fast loading text editor. I presume adding very much device/task specific functions will be pointless.

Saying that, I am presently working on a Notepad specifically designed for Diamond. Will think of such features in that project. :)

bigtechtony
2nd November 2008, 12:14 PM
Cab it up, possibly? Much thanks!

shamasis
2nd November 2008, 12:21 PM
I try to open .txt file by hold tap-->open with...notepad.exe but it isn't display context .txt file. empty

I am attaching a BETA release of the 1.3 version of this software. Kindly test it and check whether it suits your "open-with" needs.

In general, it should work easily with the explorer you are using. In case it does not, try to use the under-mentioned open-with command.

The "open with" command should be: "/Program Path/Notepad.exe" "%1"

Where 'Program Path' is the path of the program and '%1' is the file name. Make sure they are within "double-quotes".

Corpsegrinder
2nd November 2008, 08:49 PM
Love it. Works great on my tilt. Thanks.

evojulz
2nd November 2008, 09:55 PM
Very nice and light txt editor!

Any plans to support .DOC and .DOCX? Even just as read only without formatting and ability to save as .TXT.

I have some settings and serials in Word docs that would be good just to copy out of without having to install Pocket Word ;)

joemanb
3rd November 2008, 05:01 AM
It's great to see people working on new editors!
Some things that would really make this program stand out...

The ability to associate files and open with a double click.

The ability to open files via 'Send to' in GSFinder+.

Multiple files opened in tabs with the ability to open new ones (while retaining the old ones, tabbed) with double click or 'Send To' or 'Open With'.

Search and Replace.

Choose Unicode or ANSI formatting for save.

If you implemented these few things, and kept it small, this could be the BEST compact editor for WM (IMHO).

UKNote (http://translate.google.com/translate?hl=en&sl=ja&u=http://homepage3.nifty.com/UK-taniyama/tools/UKNote.html&sa=X&oi=translate&resnum=4&ct=result&prev=/search%3Fq%3Duknote%26hl%3Den%26client%3Dfirefox-a%26channel%3Ds%26rls%3Dorg.mozilla:en-US:official%26hs%3D6nV%26sa%3DG) almost does everything except 'Multiple tabbed docs', and 'Send To' which is the BEST way to open documents for editing in an editor that the MIME type isn't associated with. 'Open With' is just too slow.

The easier it is, and the more options you have to open a file in an editor, the better. Opening a file from my favorite file manager is my preferred method (double click, or 'send to').

Thanks for the Editor!

Beast84
3rd November 2008, 06:02 AM
Can this be used to edit xml files directly on the ppc? Or even create mscr files for mortscript?

shamasis
3rd November 2008, 01:21 PM
Can this be used to edit xml files directly on the ppc? Or even create mscr files for mortscript?

XML / HTML are text based files.
This Notepad can be sed to open and edit such files on PPC.

shamasis
3rd November 2008, 01:39 PM
It's great to see people working on new editors!
Some things that would really make this program stand out...
... Thanks for the Editor!

:) Thank you for your compliments. You are most welcome! :)

What features I inferred from your post and also I had been considering earlier:

Associate with .txt files so that any explorer can open it.
Open multiple text files in tabs.
Search and Replace.
Magnify/Zoom (already done in upcoming 1.2 release)
Font Type Change (Normal or Fixed-width, already done in upcoming 1.3 release)


The ability to open files via 'Send to' in GSFinder+.
I think this may already work! Try and let me know please.

If you implemented these few things, and kept it small, this could be the BEST compact editor for WM (IMHO).

I will try to implement these and also keep the weight/load-time/memory usage less.

joemanb
3rd November 2008, 05:24 PM
Yes! 'Send to' DOES work (hurray!). It didn't yesterday, I must've needed a soft reset.

As far as association is concerned, we should be able to associate any file, not just TXT. Let the User worry about associations, but just fix it so that if a filetype IS associated, it opens with a double click. Right now when I associate a filetype, and try to open it with a double click, I get an Error:

'The specified file cannot be opened. Path or format incorrect.'

I click 'OK' then the editor opens with no file.

Thanks Again!



P.S.
What features I inferred from your post and also I had been considering earlier:

Associate with .txt files so that any explorer can open it.
Open multiple text files in tabs.
Search and Replace.
Magnify/Zoom (already done in upcoming 1.2 release)
Font Type Change (Normal or Fixed-width, already done in upcoming 1.3 release)

You might want consider the ability to save as ANSI or UNICODE because many of the text files used by WM are UNICODE.

vpoet
3rd November 2008, 06:30 PM
I work with lots of text files at once sometimes, so it would be nice to be able to load multiple copies of the EXE at once (or to use a tabbed interface).

shamasis
3rd November 2008, 06:59 PM
...Right now when I associate a filetype, and try to open it with a double click, I get an Error:

'The specified file cannot be opened. Path or format incorrect.'

I click 'OK' then the editor opens with no file.

Yes. I know why the error is there. This is not an error. You are providing the filename as command-line parameter. But your file name contains spaces, hence it should be enclosed within quotes.

E.g. /Internal Storage/my file.txt should be opened as Notepad.exe "/Internal Storage/my file.txt" and see it will work!

I can do a workaround fix, but that would make it non-standard. I will tell you why...

All command-line parameters are separated by spaces.
e.g. Notepad.exe param1 param2
Now, all programs use the first parameter as file name. But, when your filename contains spaces, it is split into two or more parameters. And that causes the error. Hence, to open your file, your parameter should appear within double quotes.

So, for opening a file, say, /My File.txt, your command will be.

"/Notepad.exe" "/My File.txt" (assuming that both files are in root folder)

PS: Please don't mind if I went in so much details. But I explained for people who would not know anything.

However, If you suggest that I should "merge" multiple parameters and check whether it is a valid filename or not, then I can do it. But as I said, that would be non-standard. :) I have attached a file with this change done.

joemanb
4th November 2008, 05:26 PM
Awesome! I love it! Now I can open a file using any method I desire. This is HUGE!

I don't think your 'nonstandard' workaround will be a problem because, after all, what parameter would you send to an editor other than a single filename?

Is there a filesize limitation? I opened a 92k file and was only able to scroll down about 1/3 of the document before it wouldn't scroll anymore. The ability to edit large files would be another feature I would request.

Another thing you might consider is coming up with an original name for your editor. It is shaping up to be such a good editor that it deserves something other than the generic 'notepad'.

Thanks for your hard work, it is very appreciated by us editor lovers out here in WM land. I am anxiously awaiting updates! :D

J03M4N

shamasis
4th November 2008, 10:54 PM
...Thanks for your hard work, it is very appreciated by us editor lovers out here in WM land. I am anxiously awaiting updates! :D

J03M4N

Guess what drives the world of software??? It is people as good as you. I am not flattering, but its rather a huge fact that the trouble you took to use and comment on the software more than motivates me (or anyone else for that matter) to develop even better softwares.

Rather I should say "Thank You" for your time and effort to appreciate someone. :)


Back to work:
Yes, there is a kind of file-size limitation. But I am yet to find out the exact value. It tends too vary between devices :( .

Nevertheless, it is a limitation/bug of DOTNET CF 2.0 . DOTNET CF 3.5 too has this problem (of displaying 1/3rd of the available text space,) but at a reduced level. [Doing any workaround these bugs/limitations might increase file size / memory consumption / load time.]

Next on line: I am thinking about implementing (1) Find and Replace, (2) Tabbed Documents, (3) Remember last used program settings.

After these are done, the Notepad will become somewhat finalized and would have almost all features that can be pushed inside a small and fast-loading app.

Last and the Best... I want to make it "skinnable", so that I can make it look like Diamond, etc (or any user can make their skins.)

... however... my PRIMARY GOAL still remains : FAST, BUG-FREE, SMALL/LIGHT, ALL-PURPOSE Text editor!

joemanb
5th November 2008, 05:41 PM
The filesize limitation really isn't that big of a deal. Most compact editors on WM have some sort of filesize limitation. I do most of my editing of big files on my PC.

Next on line: I am thinking about implementing (1) Find and Replace, (2) Tabbed Documents, (3) Remember last used program settings.

Excellent! Keep up the good work! Thank You.

J03M4N

shamasis
6th November 2008, 09:39 AM
New version released. (See topic started post.)


Added a new "Edit" Menu.
Insert Date feature.
Integrates with File Explorers' "open with" and "send to" features.
Remembers last used settings.

rubbish.guy
6th November 2008, 10:11 AM
:) thx for great software

hanackin
6th November 2008, 04:10 PM
hi!

this is a great idea but isn't it possible to integrate it into a cab file and to set it as the default program during the install for txt files :D

thanks fot his app dude ;)

shamasis
6th November 2008, 10:23 PM
hi!

this is a great idea but isn't it possible to integrate it into a cab file and to set it as the default program during the install for txt files :D

thanks fot his app dude ;)

thanks a ton for your appreciation.

yes. I will can it up and associate with text
files in my next release.

torpie13
7th November 2008, 04:00 PM
Hi,
How about:
1- How about tab browsing for switching from opened files easily
2- Search & replace (With mach case/ Replace/ReplaceAll)
3- Opening option *.txt *.log *.xml *.htm *.html and all known format (txt + log + xml +html + htm), *.*


Thanx alot for your hard work.

BTW I don't think that the file size matters, but the memory in use does.

Great app :)

Blowfish64
7th November 2008, 05:56 PM
So I'm not entirely sure why you've re-invented the wheel since Tillanosoft Notepad is almost exactly the same as yours is now, but if you are looking to improve, I think many of the suggestions already mentioned would be great additions. Also, I absolutely HATE the default WM "save as" feature where it restricts where you can save files to the "My Documents" folder in main memory or a folder only 1 step removed from the root on storage card. Could you please implement a decent tree view for saving/opening?

shamasis
7th November 2008, 07:30 PM
Hi,
How about:
1- How about tab browsing for switching from opened files easily
2- Search & replace (With mach case/ Replace/ReplaceAll)
3- Opening option *.txt *.log *.xml *.htm *.html and all known format (txt + log + xml +html + htm), *.*
Great app :)

It already has the *.log, xml, html and *.* filters added to open and save dialogs.

Search and Replace is up next. After this Tabbed Browsing.

shamasis
7th November 2008, 07:37 PM
So I'm not entirely sure why you've re-invented the wheel since Tillanosoft Notepad is almost exactly the same as yours is now, but if you are looking to improve, I think many of the suggestions already mentioned would be great additions. Also, I absolutely HATE the default WM "save as" feature where it restricts where you can save files to the "My Documents" folder in main memory or a folder only 1 step removed from the root on storage card. Could you please implement a decent tree view for saving/opening?
Well... I did not re-invent the wheel. This is my first PPC app. Though I am over 8 years into programming, PPC is a new domain. Hence, I wanted to start off with something simple... yet with a purpose.

The purpose is to build a fast and compatible Text Editor on DOTNET platform.

But the main fun will be the release of Notepad for HTC Diamond... and you will get to see the wheel spin then!! :p :p ;

shamasis
11th November 2008, 05:22 PM
I have added Find and Replace feature. Kindly test it and let me know if its release-worthy.

Simply click File->Find to enable Find and Replace.

Will cab it up and release it, when someone gives me the word go! ;-)

Blowfish64
13th November 2008, 11:58 PM
The word is go ;). Hope you can work on a better save function than the crap default WM one that's on there now. Then this program would be great.

conflipper
14th November 2008, 03:57 AM
i love this program, small but powerful, very very nice

PapaDocta
14th November 2008, 02:06 PM
indeed a very nice notepad... a small request if you can change how the Open works. instead of searching for all files if it could show a tree of files.. would be great.

about v1.4 the find function works but it doesn't highlight the word you are looking for which makes is a bit hard to find what you want.

keep up the good work and this is the best notepad i have ever used because it supports Unicode ;) it would be nice if it could be associated with all txt files.

_wizo_
14th November 2008, 03:40 PM
Nice app, thank you.

To be honest recently i was thinking about developing this application myself.
Perhaps i 'll re-event the wheel once again for educational purposes.

Blowfish64
15th November 2008, 03:20 AM
Mmm, now crap, it's not doing the "send to" thing anymore. I'm getting the error again with 1.4.

joemanb
15th November 2008, 08:58 PM
So I'm not entirely sure why you've re-invented the wheel since Tillanosoft Notepad is almost exactly the same as yours is now, but if you are looking to improve, I think many of the suggestions already mentioned would be great additions. Also, I absolutely HATE the default WM "save as" feature where it restricts where you can save files to the "My Documents" folder in main memory or a folder only 1 step removed from the root on storage card. Could you please implement a decent tree view for saving/opening?There are dozens of PPC editors out there, and none of them are perfect. Tillanosofts editor doesn't rate very high in my opinion. Having somebody actively developing an editor is a chance to have all the features I (and others) desire included in a single program. Right now, I'm using two different ones because one ( (http://forum.xda-developers.com/showthread.php?t=329217)UKNote (http://homepage3.nifty.com/UK-taniyama/tools/UKNote.html)) doesn't support 'Send To', and the other (SHNotePad (http://forum.xda-developers.com/showthread.php?t=329217)) won't open multiple files with a double click.

As far as not being able to save files...just use 'File dialogue Changer (http://pocketpcfreewares.com/en/index.php?soft=752)', you don't want to add unneccesary stuff to the APP.

it would be nice if it could be associated with all txt files.File associations can be done with GSfinder or Total Commander. you don't want to add unneccesary stuff to the APP.


I love your inplementation of 'FIND'. It's different. but it works well!

I can confirm that 'Send To' no longer works :mad: (also, it no longer opens associated files with double click). I hope this gets fixed, because without these features, it's just another editor (like Tillanosoft's which doesn't support 'Send To').

The editor that comes CLOSEST to having all the features I desire is SHNotePad. (http://forum.xda-developers.com/showthread.php?t=329217)

It supports multiple documents with a tabbed interface, works with 'Send To', 'file associations', and 'Open With', supports UNICODE, and has 'Search and Replace'.
The only thing I wish it would do, but doesn't, is allow opening multiple files via 'Send To', 'File Association', or 'Open With'. When I try to do this, the editor becomes active with the first file still loaded, but the new file isn't opened in a new tab.
If this behavior is difficult to program, another viable option is allowing multiple instances of the editor to be open at the same time (like UKNote (http://homepage3.nifty.com/UK-taniyama/tools/UKNote.html)).

Thanks again for your hard work! I am eagerly awaiting the next release!

J03M4N

Nice app, thank you.

To be honest recently i was thinking about developing this application myself.
Perhaps i 'll re-event the wheel once again for educational purposes.GO FOR IT! As far as I'm concerned, you can't have too many editors!!!

Blowfish64
17th November 2008, 12:31 AM
As far as not being able to save files...just use 'File dialogue Changer (http://pocketpcfreewares.com/en/index.php?soft=752)', you don't want to add unneccesary stuff to the APP.


Wow! That's awesome! Thanks so much for pointing us to that!

shamasis
17th November 2008, 05:24 PM
Mmm, now crap, it's not doing the "send to" thing anymore. I'm getting the error again with 1.4.
Arre!!!! Sorry Boss! The 1.4 BETA is really a BETA! What I mean is... I just added the Find Implementation to the old 1.2 release! Just for you to test the BETA!

The final 1.4 release version will have the Send To working!!!

i love this program, small but powerful, very very nice
Thank you for your appreciation. As I had said earlier... no creation is created unless there are people to appreciate it.

shamasis
17th November 2008, 08:05 PM
I have released 1.4 with all (most) bugs fixed!

The new release has a Fast FindAndReplace algorithm (not the native regex or the string.replace, but a faster one).

The highlight issue is fixed. And the send-to works as usual!


However I have 2 roadblock ahead... Help me solve them:

One:
I felt that allowing multiple instances of the exe would keep the application light and yet allow muliple documents to be edited simultaneously. But, WM CF allows only single instance of an exe. I found no workaround to launch multiple instances of an exe. If someone could help, it would be great.

Also, as this app was not designed keeping tabbed documents in mind (how stupid of me), implementing tabbed interface will require considerable re-work of the app and may cause new bugs to come up.

If there is no work-around for multiple instances, i will implement tabbed documents assuming that someone would do extensive BETA testing in some real-world scenario! :p Thanks in advance!


Two:
I have made this new release internally "Localization Friendly". However, enabling "Localizable Property" of this application bumps up the file size slightly, but allows anyone to do the translation by adding language specific Resx files to the project. Should i work on localization by including multiple languages in one single exe? Or separate exe for separate languages (sounds tedious to maintain for me)?!?!?

shamasis
17th November 2008, 08:13 PM
...just use 'File dialogue Changer (http://pocketpcfreewares.com/en/index.php?soft=752)', you don't want to add unneccesary stuff to the APP.

File associations can be done with GSfinder or Total Commander. you don't want to add unneccesary stuff to the APP.


Thanks for your support... for a while I was really feeling depressed about the "re-inventing the wheel" stuff. :)

Also, thanks for redirecting requests to existing alternatives as I was really thinking that adding newer file dialog and file-associations procedures may make this app heavy and hence loose its main aim of being "light"!


Regarding Tabbed Browsing... thats my next update... but will take some time as I have loads of pending office works and adding Tabbed browsing might turn out to be buggy as this app was not designed ground up keeping tabs in mind.


And... oh yes, do test out the "Replace All" feature (without Match Case) on slightly larger files! (Maybe compare with some other editors, as I have implemented a faster ReplaceAll algorithm) :)

Blowfish64
17th November 2008, 10:33 PM
Thanks for your support... for a while I was really feeling depressed about the "re-inventing the wheel" stuff. :)

Also, thanks for redirecting requests to existing alternatives as I was really thinking that adding newer file dialog and file-associations procedures may make this app heavy and hence loose its main aim of being "light"!


Regarding Tabbed Browsing... thats my next update... but will take some time as I have loads of pending office works and adding Tabbed browsing might turn out to be buggy as this app was not designed ground up keeping tabs in mind.


And... oh yes, do test out the "Replace All" feature (without Match Case) on slightly larger files! (Maybe compare with some other editors, as I have implemented a faster ReplaceAll algorithm) :)

Hey shamasis,

Don't take my reinventing the wheel comment too badly. I was simply stating that as it stood it wasn't too much different from existing alternatives. Plus I was making a point to mention things that would make your program stand out from them. I appreciate the active development that is going on with this, so don't think it was meant as a slight.

Also, I can confirm that "Send to" functionality is working again. And as for my personal preference, I would rather have tabs than multiple instances of the exe. And I'd be happy to beta test if you need people to do that.

shamasis
18th November 2008, 12:40 AM
...Don't take my reinventing the wheel comment too badly. I was simply stating that as it stood it wasn't too much different from existing alternatives. Plus I was making a point to mention things that would make your program stand out from them. I appreciate the active development that is going on with this, so don't think it was meant as a slight...

:) Thanks for your support. As i had said this is my first PPC app and I wanted to do something simple, and what else can be simpler than this. :p I know I have not done a great job but I intend to do so as I get a good grip on this platform. :)

Now the editor supports unicode files and very soon i intend to add tabs. After this make it a cab setup and associate with txt files. That (I guess) will make this a complete editor (complete software in the sense that it would be the "Notepad" Microsoft should/would have had in their OS by default and not the "Notes" app.

birkov10
18th November 2008, 10:06 PM
Congratulations, very nice editor, I like it very much but I´d like it a lot more if you can add an option to open/save in Unicode, UTF-8 ... :D :D

Aaahh and with the "File dialogue Changer" it works very fine, so keep the good work :cool:

bigix1
18th November 2008, 10:57 PM
Wonderfull app. I use it to correct my script (mortscript) directly on PPC.


Two:
I have made this new release internally "Localization Friendly". However, enabling "Localizable Property" of this application bumps up the file size slightly, but allows anyone to do the translation by adding language specific Resx files to the project. Should i work on localization by including multiple languages in one single exe? Or separate exe for separate languages (sounds tedious to maintain for me)?!?!?

File size is important (i like light apps and most impostant simply exe application) so i can suggest you to use actual language till final version.
At this point you can compile exe file for separate languages (with help of all of us).
I'll be happy to help you in translation (for italian of course). When you are ready, send me a PM.

mondilv
23rd November 2008, 09:26 PM
Congratulations, very nice editor, I like it very much but I´d like it a lot more if you can add an option to open/save in Unicode, UTF-8 ... :D :D

Aaahh and with the "File dialogue Changer" it works very fine, so keep the good work :cool:

The same opinion, unicode - and be the best:)

shamasis
24th November 2008, 08:04 PM
Basically, the default TAHOMA and COURIER NEW fonts of WM5/6 does not support Unicode characters. If you people already have unicode capable fonts on your devices, I can program Notepad to have a "Font Chooser". If that helps.

You can already see that the fixed-width font-type supports many Unicode characters (rather extended ASCII), but not all Unicode characters.

Have a look at: http://forum.xda-developers.com/showthread.php?t=334781

corduroy27
2nd December 2008, 01:09 PM
Thanks shamasis and any people who work on this.
I like to have usefully .cab files ;)

mainsail, gives me this link from our new MIO A701 COMMUNITY here:

http://www.a701.org/Forum/

Blowfish64
3rd December 2008, 03:09 AM
How's this coming btw? Any update on tabs?

shamasis
3rd December 2008, 08:00 PM
I have just made code optimizations that would make every text document independent of any specific resource/event in the app. This would stabilize the application.

I would release an intermediate version with these changes and small feature of opening "Recently Opened Files".

Once I see things are working, I will introduce the tabbed browsing. And that would be the LAST update to the notepad before I introduce the "skinning: feature to this app, so that it can be made to look better on faster ppc.

cirial
3rd December 2008, 08:02 PM
Awesome little app, thanks!

zard
4th December 2008, 06:19 AM
Great software!

Any chance that you can add "ini" functionality? Thanks.

shamasis
4th December 2008, 09:58 AM
Great software!

Any chance that you can add "ini" functionality? Thanks.

This editor can open ALL TEXT FILES!! Ini are text files too! imply open the app, go to File->Open. Select "All Files" from dropdown and open your ini file!

[deXter]
8th December 2008, 07:32 PM
Here are some of my simple, *necessary* and easy requests:

1) Save settings on exit (Eg: Word Wrap, Font, etc)

2) -1x and -2x zoom (ie, zoom out)

3) Use tgetfile.dll (So that file open dialogs behave like normal windows' instead of searching all files)

Thanks for making such a nice program! And please keep it as simple and small as possible even in the future! :)

shamasis
8th December 2008, 07:44 PM
I don't know why you didn't get the features in the latest release!

The v1.4 release already has "Save Settings", "1X, 2X Zoom"!

However, tgetfile.dll is not implemented. I would have implemented had it been free. Its license needs to be bought :( Uuse "File Dialog Changer" as mentioned in earlier posts instead.

Blowfish64
8th December 2008, 10:44 PM
I don't know why you didn't get the features in the latest release!

The v1.4 release already has "Save Settings", "1X, 2X Zoom"!

However, tgetfile.dll is not implemented. I would have implemented had it been free. Its license needs to be bought :( Uuse "File Dialog Changer" as mentioned in earlier posts instead.

I think he was asking for zoom out, not just zoom in.

[deXter]
10th December 2008, 03:31 AM
^ That's right, I was asking for zoom-out, ie, 'Reduce'

@Shamasis:
I did download the attachment named notepad_1_4 and extracted it. However, it doesn't seem to have the 'save settings' feature.
---
Another feature which would be nice is an auto save-and-restore. For eg, say if I'm typing something important and the battery runs out, when I open Notepad again it will retain whatever I had typed earlier.

shamasis
11th December 2008, 07:54 AM
Well... first I am sorry for not being able to release a new version as promised. You see, I have got caught up on two very interesting open-source JavaScript project headed by me. :)

Other than that, I guess from your posts, I get the idea that I need to have a Zoom 0.5X as well! (Phew... I already thought that 1X was very small.... perhaps it was because of the high DPI on my test device... Diamond... *sigh*!!)

I think I will incorporate 0.5X Zoom at the earliest!

Also, there is no specific "Save Settings" menu item in the application. It happens automatically! You just need to change your settings and it will remember. (Except 'Word Wrap' feature, which is not implemented due to technical reasons : for some wierd reason, changing the word-wrap value upon load disrupts the cut-copy-paste menu! Let me see if I can work around it.) Till then, other features like Font-Style and Zoom-Level are saved automatically.

frquixote
16th December 2008, 01:51 AM
I just wanted to say "thank you" for the outstanding job you have done with Notepad. I have had unending problems with the built in Notes, particularly when it came time to synch with Outlook, so I was looking for a good notepad/text editor that would allow me to store my notes in a standard format on one of my two storage cards (one CF and one SDHC). With the addition of File Dialog Changer and gsGetfile, your Notepad met all my requirements, it integrates well with Resco File Explorer ... and its free! The combination of features and a responsive developer did it for me.

I look forward to Recently Opened Files, tabbed support, skinning, UTF-8 and perhaps larger file support (please, please, please). I need the latter to edit Gutenburg and other etexts.

Regards,
Sig Runge

shamasis
2nd January 2009, 10:00 PM
Most may have thought that this developer (me) is dead! But unthankfully, due to work, I was almost dead! Nevertheless, this New Year I thought of at least implementing the least I could.

So... (1) added the ZoomOut functionality and (2) Compressed certain resources so that the app size would decrease.

See first post for uppdated notepad_1_5.zip file.

Trust me, let me get some time, I will surely implement the "Recent Files" and some other Minor Feature.

After repeated attempt to implement Tabbed-Documents in this implementation-model, I realized it would be best to develop the key sections of this APP from scratch. That would keep it as stable as it is currently and also help me maintain things better. That also means that I am planning of a v2.0 release with all these updates (after I get some tome off my FusionChartsDOM projet!)

FatBoyExtraordinaire
3rd January 2009, 12:31 AM
Nice to see you back and nice to see the update.

MrLAG
13th February 2009, 01:28 AM
Thx for this application! I suggest you make it remember last opened folder. Now it remembers only last opened file type. And as I use "all files" it's quite unhandy becouse it starting with all folders :/

Dragonet
8th April 2009, 10:50 AM
Can it edit other language text???

thebranded
8th April 2009, 12:11 PM
excellent app, was using pword to edit my xml files and had to rename the file between txt and xml each time just to open!

Works great looking forward to updates, especally the tabs option.

shamasis
8th April 2009, 09:00 PM
Thx for this application! I suggest you make it remember last opened folder. Now it remembers only last opened file type. And as I use "all files" it's quite unhandy becouse it starting with all folders :/
Yes... am working on something more acceptible. As I have realized that Windows' native File Open dialog box is not much helpful to most.

claus1953
8th April 2009, 10:09 PM
Yes... am working on something more acceptible. As I have realized that Windows' native File Open dialog box is not much helpful to most.

It is working nicely with file dialog changer.

monmon
10th April 2009, 06:35 PM
Thank you

Simple, yet an important release

smuppy
30th June 2009, 08:14 AM
LOVELY app!
The only thing I'm missing is the fact that it cant save swedish characters (unicode or utf8?), åöä, other than that its simply perfect!

If I could make a wish, support for unicode/utf8 would definately be it.

ElCondor
30th June 2009, 09:01 AM
Works very good, cpr files are supported too so it's very handy! Thanks!

claus1953
30th June 2009, 04:59 PM
The only problem i faced is that i cannot edit larger cpr, mscr or xml files on my device, as they get cut off.

Paolooo
25th July 2009, 10:56 PM
Need Italian version...

shamasis
25th July 2009, 11:01 PM
Next on line is UTF8 support. That is causing most... some sort of problem. Let me see, as soon as I get some free time off FusionCharts, i will get back here.


Italian and French translation (other translations coming up.

svprm
26th July 2009, 08:02 AM
Thanks shamasis.
Nice.

Foliator
6th August 2009, 06:07 PM
A few comments about Notepad Mobile:

First of all, congratulations to the author for staying focused and not overdeveloping this app into bloatware, like so many other editors have become!

Regarding the questions about the file size limit in Notepad Mobile, this appears to be something imposed by the WM operating system rather than NET CF, because I've seen it in other editors not written in NET CF. Most small text editors, such as Tillanosoft's Pocket Notepad, reach their limit at about 30 kb on my Axim x51v, despite the fact that there's plenty of RAM remaining.

The editors that get around that limit handle up to 64 kb; this includes Notepad Mobile. The internal editor of Total Commander Pocket, which was not written in NET CF, also limits out at 64 kb.

Aside from Pocket Word, which I don't like at all, I've only seen two third-party editors that could handle more than 64 kb: There's cke, which can edit files up to the device's memory limits. Unfortunately, it's still in an alpha version after several years, has too many bugs, and only works with fixed-width fonts, which I find pretty ugly.

MADE was another one that could open files of unlimited size and was packed with features. That one had problems, too, most notably with the word wrap.

Anyway, 64 kb is more than enough text for me; I'm a writer, and a longwinded one, too, but not so much so that I would exceed that limit. ;-) Besides, it gets pretty tedious to scroll through documents that are as big as 300 kb, or even 1 mb. I've done that with eBooks from project Gutenberg -- what a chore!

Now regarding opening multiple files, those of you who have Total Commander may want to try this:

Assuming you now have a working file association set up for Notepad Mobile, highlight two or three files in TC, then use the Open command in the context menu. You'll get multiple instances of Notepad Mobile, but it works! All you need is a good task switcher; my personal choice is Magic Button.

shamasis
8th August 2009, 11:10 PM
A few comments about Notepad Mobile:

First of all, congratulations to the author for staying focused and not overdeveloping this app into bloatware, like so many other editors have become!

Thanks a ton for understanding what I am targetting. I have dropped many features even after developing it due to instability of WM or due to performance issues. I intend to actually keep Notepad Mobile as usable as possible.

I am still trying to get around the 64kb limit of .NET CF. To get around it, I will need to load the file separately in RAM and subsequently render it as graphics in a custom textBox control. This does not sound performance friendly! A lot of things will need to be re-implemented instead of using the native WM implementations. ... I am still finding a viable fix.

shamasis
9th August 2009, 12:17 AM
Kindly test this stable BETA.

New feature added "FullScreen Functionality"... use Menu -> Fullscreen.

Fixed a bug of textarea loosing context-menu after changing word-wrap state. (reported by Gerry)

6Fg8
9th August 2009, 01:28 AM
some time ago i stumbled over notepad, not knowing that its published on my favorite pda site :) So, first of all a big thanks for your effort. Its one of the first tools to copy after flashing a new rom, and theres not a single day without using it.

Theres only one thing i would change. The main use for me is editing config files of different flavors, and most of the time i disable word wrap otherwise it becomes unreadable. It would be great if notepad could remember the last used wordwrap setting and restore it on next start.

I downloaded 1.6 and tried the fullscreen option - nice! really useful to have more screen for content. Keep it up!

Foliator
9th August 2009, 02:34 AM
The only thing I'm missing is the fact that it cant save swedish characters (unicode or utf8?), åöä, other than that its simply perfect!
I just created a file containing those characters with Notepad Mobile 1.6 beta. When I reopened it, the characters showed up properly. They also showed up in the cke text editor, which identified the file as UTF-8. They don't display correctly in an ANSI editor, or Word Mobile, for that matter, but Word will display a UTF-8 file correctly if it finds the 3-byte signature at the top: 

cke adds that, but other UTF-8 editors don't.

shamasis
9th August 2009, 08:06 AM
Its one of the first tools to copy after flashing a new rom, and theres not a single day without using it.

Thanks a ton for your compliments.

It would be great if notepad could remember the last used wordwrap setting and restore it on next start!

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.

I downloaded 1.6 and tried the fullscreen option - nice! really useful to have more screen for content. Keep it up!

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.

6Fg8
9th August 2009, 08:38 AM
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.
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 :)


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.
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

shamasis
9th August 2009, 08:54 AM
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

- 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.

Foliator
10th August 2009, 12:29 AM
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.

shamasis
10th August 2009, 07:19 PM
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.

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.

shamasis
12th August 2009, 10:38 PM
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.

Foliator
13th August 2009, 09:21 PM
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.
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.

vn1minh
14th August 2009, 12:15 AM
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.

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

mccune
14th August 2009, 01:13 AM
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!

Foliator
14th August 2009, 02:41 AM
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.
Mine says 3.5.7283.0. That's the version of .NET CF I'm using. ;-)

shamasis
16th August 2009, 11:42 AM
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.

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"!

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

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?


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!

Mine says 3.5.7283.0. That's the version of .NET CF I'm using. ;-)

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.

Foliator
16th August 2009, 04:14 PM
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.

mccune
17th August 2009, 12:22 PM
Mine says 3.5.7283.0. That's the version of .NET CF I'm using. ;-)

LOL Just got a TouchPro2 (Vario V). Didn't know there was an older version of .NET on that device ;)

Nullstring
17th August 2009, 01:14 PM
does this supports Multi-TAB?

Foliator
17th August 2009, 04:25 PM
LOL Just got a TouchPro2 (Vario V). Didn't know there was an older version of .NET on that device ;)
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.

shamasis
18th August 2009, 12:36 AM
does this supports Multi-TAB?
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?

stylez
18th August 2009, 12:49 AM
Thankyou, will come in handy :)
Like the way landscape is supported now ;)

farqui
18th August 2009, 01:04 AM
Idea for v1.7 .... "Recently opened Files" list in the File Menu. Will help many. What say?

Definitely. Well done btw, your app is very handy.

Foliator
18th August 2009, 01:13 AM
Idea for v1.7 .... "Recently opened Files" list in the File Menu. Will help many. What say?
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. ;-)

o.k.
18th August 2009, 08:21 AM
Hi, looks like a nice software, haven't really tried though.
Just one question: does it have a limitation on file size to open?

shamasis
18th August 2009, 08:36 PM
Thankyou, will come in handy :)
Like the way landscape is supported now ;)
Thanks.

Definitely. Well done btw, your app is very handy.
Thanks.

Hi, looks like a nice software, haven't really tried though.
Just one question: does it have a limitation on file size to open?
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.

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. ;-)

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.

player911
18th August 2009, 09:47 PM
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.

shamasis
26th August 2009, 11:12 PM
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/

mccune
27th August 2009, 10:35 AM
Just installed. Thanks for this mate!

YoLoLo
27th August 2009, 11:44 AM
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

Paolooo
28th August 2009, 12:08 PM
Originally Posted by 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.

Originally Posted by shamasis
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"!

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... ;)

Foliator
30th August 2009, 06:53 PM
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.

6Fg8
30th August 2009, 08:33 PM
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).

TheRem
31st August 2009, 07:55 AM
cool! thanks shamasis! :)

ugumba
4th September 2009, 12:13 AM
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.


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.

shamasis
5th September 2009, 09:27 AM
Congrats for the new release !
It's definitively a HANDY tool for users, and let sleep the powerfull-but-heavy PWORD into its folder ! ;) ...

:) 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.

Just installed. Thanks for this mate!

You are always welcome. :)

shamasis
5th September 2009, 09:39 AM
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... ;)

Will put them up soon. Thanks for pointing towards ini.

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

...

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!)

cool! thanks shamasis! :)

Welcome. :)

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.

Hmm... makes me now think a lot lot lot! 100kb is not that large. Let me see what can I do without sacrificing performance.

shamasis
5th September 2009, 09:45 AM
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 :)

Foliator
6th September 2009, 05:55 AM
I was really touched to see to what length Foliator had gone to really make the most out of a simple Notepad application.When it comes to trying out software, Shamasis, I'm an inveterate tinkerer. Some people think I'm just a glutton for punishment. ;-)

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.
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.

shamasis
6th September 2009, 02:32 PM
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.

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.

Foliator
6th September 2009, 04:30 PM
... 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.Looks like a good plan, Shamasis!

Foliator
10th September 2009, 03:37 AM
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).

shamasis
10th September 2009, 09:29 PM
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. :)

tapdov
10th September 2009, 10:10 PM
On my iPAQ 210, it seems that Notepad only loads approximately the first 65500 (65536?) characters of the file.

Foliator
11th September 2009, 12:02 AM
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. :)
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:
Notepad.exe
ObjectDisposedException


at Microsoft.AGL.Common.MISC.HandleAr(PAL_ERROR ar)
at System.Windows.Forms.Control.get_Bounds()
at System.Windows.Forms.Control.get_Width()
at Notepad.Form1.positionControls()
at Notepad.Form1.repositionOnResize()
at Notepad.Form1.inputPanel1_EnabledChanged(Object sender, EventArgs e)
at Microsoft.WindowsCE.Forms.InputPanel._SIPWnProc(In tPtr hwnThis, WM wm, Int32 wParam, Int32 lParam)

MykeChester
12th September 2009, 12:25 PM
compatible with NET CF 3.7?

6Fg8
12th September 2009, 04:00 PM
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).

any chance for this?

thedicemaster
23rd September 2009, 10:18 PM
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.

shamasis
24th September 2009, 12:01 AM
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.
I intend to do it ASAP. Will let you know.

shamasis
24th September 2009, 12:04 AM
any chance for this?
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.

WAIKIKI728
24th September 2009, 06:27 PM
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?¿?

mccune
25th September 2009, 11:44 AM
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?¿?

Now don't be lazy! The URL in the first post is indeed broken. But when you search his website you'll find THIS (http://www.shamasis.net/projects/notepad-mobile/#download)very easily!

shamasis
25th September 2009, 12:27 PM
...............page not found...i can´t download the 2.6 version...can you uploaded again?¿?

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.)

Now don't be lazy! The URL in the first post is indeed broken. But when you search his website you'll find THIS (http://www.shamasis.net/projects/notepad-mobile/#download)very easily!

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. :)

WAIKIKI728
25th September 2009, 12:28 PM
Now don't be lazy!....................... The URL in the first post is indeed broken............



!!!thank you!!!:p

6Fg8
4th October 2009, 01:18 PM
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.
I know you're right :) If you could add that would awesome, thanks.

henrik.dk
26th October 2009, 10:42 AM
I am searching for an editor. Is this still a free application? If it is, I will definitely give it a try?

henrik.dk
26th October 2009, 10:47 AM
Just tried it. A bit too slow.

Foliator
26th October 2009, 06:09 PM
Just tried it. A bit too slow.
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).

shamasis
26th October 2009, 06:34 PM
I am searching for an editor. Is this still a free application? If it is, I will definitely give it a try?
Notepad Mobile will always be free. And that is because good people use it. And no money can pay their goodness. :)

Just tried it. A bit too slow.
You sure? Does your other .NET CF apps load fast? What is your device?

henrik.dk
30th October 2009, 10:46 AM
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.

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?

shamasis
31st October 2009, 06:14 AM
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.
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

henrik.dk
31st October 2009, 09:33 PM
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.
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

stylez
1st November 2009, 01:19 AM
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

Up and in "2" secs cooked in Stylez Black ROM in sig "still my fav notepad" :)

Mic43
15th November 2009, 03:02 PM
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?

kanzen
17th November 2009, 02:49 PM
Is it possible to add a feature to choose the default file location for "save as" ?

Paolooo
2nd December 2009, 08:54 PM
I hope to view early v.1.7... :)

Foliator
7th January 2010, 09:40 PM
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?

lufc
27th June 2010, 07:03 PM
Very nice pice of kit thanks:)

shamasis
27th June 2010, 07:31 PM
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. :)

Foliator
13th July 2010, 10:27 PM
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. :)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.

saurabh88
1st August 2010, 02:28 PM
thanx my brother..
for too long i have been waiting for this beauty from desk to my ppc