|
Chris Maunder wrote:
Ah - the joy of being on the other side of the fence
Have you considered having a regular coding competition, the goal being to enhance CP? This month the 20k spell checker, next the post ticker, after that Mozilla-friendly forum code...
---Shog9---
From now on we can call C# and MC++ "The square wheel languages" -- Jack Handy, The Lounge
|
|
|
|
|
Absolutely! I actually was planning on doing this with the ASP.NET version (which keeps getting pushed back because of a poor planning decision by the guy who decided how many hours in the day there'd be)
cheers,
Chris Maunder
|
|
|
|
|
Must... Control... Fist... of... Death...
Actually at one point I was going to try and plug into ASpell with JavaScript, but I never got anywhere with it.
Jason Jystad
|
|
|
|
|
talking of the fist of death and all
how about a random cool sig featur
along with a random funny joke of the day
"... and so i said to him ... if it don't dance (or code) and you can't eat it either f**k it or throw it away" sonork: 100.18128 8028finder.com
|
|
|
|
|
et tu lauren?
Jason Jystad
|
|
|
|
|
Lookin' good...
---Shog9---
From now on we can call C# and MC++ "The square wheel languages" -- Jack Handy, The Lounge
|
|
|
|
|
|
sweet
The ants are my friends. They're blowing in the wind.
|
|
|
|
|
Thanks!
I am really glad everybody seems to like it so much. I hope Chris goes for it! :crosses fingers:
Jason Jystad
|
|
|
|
|
Wow! That looks *really* nice! One little improvement might be to presearve selection after using one of the formatting buttons; not sure how difficult that would be.
--------
From now on we can call C# and MC++ "The square wheel languages" -- Jack Handy, The Lounge
|
|
|
|
|
Yes, this is another feature that is on my list of to-dos. I am pretty sure I know how to do this, but I didn't want to spend the time until Chris gave it a yay or nay.
If Chris decides to use it in one form or another, I have a list of features I will implement to make the whole system smoother than this prototype.
I am glad you like it.
Jason Jystad
|
|
|
|
|
Actually, I went out to the prototype page and re-tested it. I wanted to make sure that I was correctly remembering what it presently did.
What it does now is highlight the selection AND the newly inserted tag(s). Is this what you mean, or did you have some other behaviour in mind? If you wanted a different behaviour, please describe it to me so I can include it on my list correctly.
(Remember that the full functionality of this prototype is limited to IE 4.x+ on Win32 platforms. I will be doing the cross-browser mods if Chris chooses to implement this.)
Thanks for the suggestions!
Jason Jystad
|
|
|
|
|
Jason Jystad wrote:
What it does now is highlight the selection AND the newly inserted tag(s).
That is what i meant; but it doesn't work for me
I'm using IE 6.0.26 on Win2k; i'll try it on WinXP when i get home.
---Shog4---
From now on we can call C# and MC++ "The square wheel languages" -- Jack Handy, The Lounge
|
|
|
|
|
Really!!?!
I am using IE 6.0.26 on Win2k Pro here and it works flawlessly. What does it do on yours?
Jason Jystad
|
|
|
|
|
I went back and tried it again; you are correct, it does select the text + tags correctly - but it sometimes does not show the selection!
When i select text with the keyboard, everything is good, after i press one of the buttons it will display the new selection and the edit box will have focus.
But if i select text using the mouse, and then click one of the buttons, the box has focus, but the selection is not visible, and the cursor is gone. The only way i can tell it is selected is to type something (since that deletes the selection) or hold down shift and move the mouse (since that extends the selection).
It is very strange... But at least it works via the keyboard
---Shog2---
From now on we can call C# and MC++ "The square wheel languages" -- Jack Handy, The Lounge
|
|
|
|
|
Great hopping horney toads!!!!
I guess I have my first bug report. I will use it to create my first entry in a new list.
*sigh*
Jason Jystad
|
|
|
|
|
Ok, I just tested this from my end and it get even weirder. I get the same results you do, which is weird enough, but I also noticed that if you use the mouse to select a word by double clicking the word then it works perfectly. The tags are inserted and the whole thing is selected and shown.
So the only way it doesn't show the highlighed selection is if you actually click and drag to highlight the initial selection. This is too damn weird.
I will work on this. Thanks for bringing it to my attention Shog.
Jason Jystad
|
|
|
|
|
OK, I took a swing at fixing it. No good. I think it may be some kind of screwy IE bug. Let me know how XP handles it. I'll try it on IE 5.5 when I get home.
Jason Jystad
|
|
|
|
|
It acts the same on WinXP; must be a IE6 problem. Good luck tracking it down
---Shog9---
From now on we can call C# and MC++ "The square wheel languages" -- Jack Handy, The Lounge
|
|
|
|
|
Its a *feature* not a bug damnit!
Ah well, I'll try to figure out a work-around but don't hold your breath.
Jason Jystad
|
|
|
|
|
It looks great , however is it possible when you click on a button (i.e Bold) for the caret to be automatically placed between the tags and not at the end?
Good job!
Best regards,
Alexandru Savescu
|
|
|
|
|
Good thought!
I think I can see a way to do this, it will probably have to be Win32 IE specific due to some limitations in Netscape and Mac IE JavaScript.
I will add this to my list of "Things to implement if Chris says he'll use it".
Alexpro wrote:
Good job!
Thanks.
Jason Jystad
|
|
|
|
|
I appreciate everybody posting their comments/suggestions for this.
I want you all to know that I am keeping a list of the suggestions and I will do my best to implement them all if Chris says he will use this.
As for the general comments, I am not keeping a list of them unless the suggest improvements. But rest assured that I am basking in them and reading them over and over again. (Can we tell who doesn't get much positive feedback at work? ) Thanks for all of the comments so far, and in advance for any more that come along.
Jason Jystad
|
|
|
|
|
No changes to functionality, I was trying to debug the problem Shog noticed and when I was unable to fix it I had to do something to give me a feeling of accomplishment.
I just took a lap through the code to optimize a few things, make it neater and more consistant, and add some error checking. Otherwise no differences should be noticable.
Jason Jystad
|
|
|
|
|