1
let firefox_OSX_reply = "Editor shows up and places the tag but then you cannot enter any code between the begin tag and end tag manual entry as with Safari seems to work just fine."
By on 2/26/2006 12:10 PM ()

Scott and I are looking into "Free Text Box" ([link:www.freetextbox.com]), the underlying tool for text entry that Community Server 2.0 uses. We should have an answer in a day or two, but it sounds as though you have a workaround, albeit a clumsy one, that you can use. Since "Firefox" is "Mozilla" and FTB supports Mozilla 4.0, if you have issues and we can make a reproducible case, we can raise that with the FTB team and have a clear path for bug fixes. As far as Safari, I'm still looking at issues that may affect you and will need some time. I know Safari passes the Acid2 test (as of April, 2005), but does Safari follow the Mozilla or another spec (W3C?) that we can use to discuss issues with the FTB team? I know the basis for much of Safari is the KDE project and KHTML (or is that old news?).

---O

By on 2/26/2006 9:37 PM ()
1
let reply_firefox_windows = "everything works just fine"

It seems it's only Firefox and Safari on Mac OSX that have problems. I will test from Opera on Windows in just a second and see how that goes. Firefox on Windows seems to be working just fine.

By on 2/27/2006 8:04 AM ()

OK on Opera is where I am posting from now the editor does not show up but I can enter the tags manually.

1
let reply_opera_windows = "same as Safari on Mac OSX. No code editor appears just a multi-text window for the reply and an edit control for the reply subject"
By on 2/27/2006 8:11 AM ()

I will test the F# website tonight from home from Safari and from Firefox on OSX. If it uses MSFT css though I can already tell you it will look horid in Safari. Firefox will handle the non-standard css and render it correctly unless you tell it not to. IE Brains-N-Brawn.com looks horrible from Safari but just fine from Firefox. I will test the F# site from Windows Firefox and Opera in just a minute and let you know how it looks.

By on 2/27/2006 8:14 AM ()

I have dual screens here at work so I put the F# site up in IE on one side and in Firefox and Opera on the other side and screen shot it. I will e-mail the png's to optionScalper so he can e-mail them to you so you can see a full size real life side-by-side. It looks best in IE, then firefox, then Opera. The text is so small in Opera that I have to re-do my settings to make it readable on some portions of the page. The screenshots are from before I reset my text sizes in Opera. This was done on Win2K pro.

The Firefox version is: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8.0.1) Gecko/20060111 Firefox/1.5.0.1

The Opera version was: Version 8.52; Build 7721;

By on 2/27/2006 8:29 AM ()

A post I made on another page, but thought I should summarise here: Is it possible (if this is a desirable change for others too) to make it that when something is F#-colour coded the word-wrap is also taken off? Some of my code goes beyond the edge of the page and I think it looks a lot nicer with everything lined up rather than with comments wrapping around etc...

By on 6/2/2006 1:51 AM ()

The best I could come up with for now is to add some HTML around your code. If you switch the code editor from Design view to HTML view, you can add code like this before the first "paragraph" of code:

Don't forget to close with a after your code.

The important part is the "white-space: nowrap;". The "overflow: scroll; width: 600px;" just does its best to preserve the layout of your site by putting the long code in a scrolling box 600px wide. You can change 600 to any width you prefer to fit the design of the page you are posting to. Here is an example, albeit in VB.

1
2
'Longer lines
Dim a as System.Data.SqlClient.SqlConnection = new System.Data.SqlClient.SqlConnection("some connection string in here;some connection string in here;some connection string in here;some connection string in here;")
By on 6/2/2006 5:12 AM ()

You may wish to edit that - you probably mean whitespace rather than whitesapce... But thanks :-)

By on 6/2/2006 10:18 AM ()

No, really, white-sapce is part of the CSS 4.0 spec. [;)]

I've edited the post with this correction. Thanks for catching it.

By on 6/2/2006 10:29 AM ()

Fantastic - this will save hours - I wish I could use it for my power point too (perhaps I can via cut and paste?)

Speaking of Safari and Opera - I have been told the F# website looks terrbile viewed through some browsers - I don't have any installed on my machine - if you've any feedback on what's going wrong it would of course be appreciated!

By on 2/26/2006 8:28 PM ()

Don,

Yes, you can use this via cut and paste here. Just open a "new forum post" (on any forum) as your temporary work area. Be certain that when you cut and paste that the "cut" code to The Hub is "cleartext", i.e. does not contain any html. If you cut and paste from VS, this should not be an issue, but if you cut and paste from your web pages or elsewhere, to The Hub, paste to your favorite text editor that will strip the html tags off of any target code. For the moment, I use notepad just because I can count on "no formatting features" in notepad.

When you are done with the code, just click on preview post, and the rendered html should have the necessary coloring that you need. Cut and paste what you need. Use this for all of your code coloring, i.e. if you need this for your public blog or presentations, use it. As I mentioned in Hubology: F# source HTML color coding native on The Hub, we're talking with the addin author of this code, so when we get the F# stuff looking good (after "go live"), we'll make sure that he's got a good working copy that will be supported in all CS2.0 installations that run his addin (and an "F# code icon" on all of those desktops).

Also, this is experimental, and Scott and I haven't gotten all of the coloring correct (I have questions on idioms and other language elements that I'll be reviewing), so let us know if you need a change. If we are online, we can "turn a change around" in about 10 minutes. Please also note that we color the "|" and other elements at the moment. I know that source\vs\service.ml doesn't choose that method for coloring, so, I guess we've taken a little liberty as well. Personally, there is not enough magenta and burnt sienna in F# code nowadays, two colors that would definitely provide for "metaprogramming quoted expressions" and "Matrix classes" respectively 8-)

---O

By on 2/26/2006 9:13 PM ()

For Firefox, if you enter the code first, the select the text and click the button, does it work? (As opposed to clicking the button then entering code between the tags.)

I have sent an e-mail to the creator of the text editor to see what plans for support are.

By on 2/26/2006 7:04 PM ()
1
2
let safari_OSX_reply = "Editor doesn't show up in Safari but testing to see if I can manually put in the code tags"
By on 2/26/2006 12:07 PM ()
IntelliFactory Offices Copyright (c) 2011-2012 IntelliFactory. All rights reserved.
Home | Products | Consulting | Trainings | Blogs | Jobs | Contact Us | Terms of Use | Privacy Policy | Cookie Policy
Built with WebSharper