How about removing unnecessary spaces before parsing it? That seems like it would be easy to do with regex, especially if you are loading the whole file into a string.
Your test file didn't have any complicated spacing (ie two words separated by a space) so I used notepad's "replace/all" to remove the spaces and then parsed it in the older parser. The file was 1/2 the size and loaded much quicker.
Tony,
Attached is a checklist I put together to help me go test all of the features. Please add/edit and add to your #1 post if you wish.
Here are a couple of things I noticed:
1. In edit mode, the "[]" always prints "[" even if I'm trying to close the tag.
2. Grey space on top after switching between landscape and portrait mode
I also noticed that when I copied the "ppcw.ini" file from desktop to pda I got an error. The problem is the ini setting for the directory - the PDA chokes on the PC directory string. We may want to use one value for WikiDir for the PC and a different one for the PPC, and use the one for that platform. Maybe "wikiDirPPC" and "wikiDirPC" and then assign to WikiDir depending if CPPC is true or not.
Attached: wiki_parser (slash syntax)
* added new syntax markup
* fixed heading markup (would trigger on dates ie 7/27/08 created /2 headings)
* added debugMode to append error message on output for invalid markup
* added calls to FormatFileName (to replace spaces with %20, etc)
To Do:
1. Add ability to combine markups (can't use links in a table for now)
2. Add external web & file handler
I thought I had it fixed but alas I'm stuck.
Any ideas on how and where I can refresh the browser?
I deliberately retricted functionality to that available on the device. The desktop WebBrowser is far more capable than the device.This is Andrew's Browser dll with a few new props and methods
Refresh will only work on WM5.0 or later, I wanted to target older devices as well.The following considerations apply only to Windows Mobile 2003 for Pocket PC and Windows Mobile 2003 for Smartphone:
The Refresh method throws a NotSupportedException exception.
DocumentText is write only on a device. Only on the desktop is it readable.The .NET Compact Framework does not support the Document property and its related properties and events, except for the DocumentText property. You can use DocumentText to present HTML to your users, such as to provide links and a simple HTML form, but the .NET Compact Framework does not support accessing the HTML content of a Web page with this property.
Targeting device with Windows Mibile 2003SE and older is like targeting Windows95...I deliberately retricted functionality to that available on the device. The desktop WebBrowser is far more capable than the device.
From How to: Use the WebBrowser Control in the .NET Compact Framework
Refresh will only work on WM5.0 or later, I wanted to target older devices as well.
Yes, but the user may need some features diferently on the desktop...DocumentText is write only on a device. Only on the desktop is it readable.
Rubbish! - Basic4ppc still targets .NET 1.0/1.1 even though 3.5 is now available on the device. Stuff has to work on the installed user base not just the latest products.Targeting device with Windows Mibile 2003SE and older is like targeting Windows95...
Certainly looked like it!I think you miss understood me....
I was not trying to say that we shouldn't target those older platforms....
Certainly looked like it!
Now that you have modified and reposted my code without consulting me I assume that you will now be providing the support for it in the future.
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?