Search found 17 matches

by Joe F.
Wed Mar 11, 2015 8:17 am
Forum: Feature Proposals
Topic: Request for character wrap (not word wrap) in fields
Replies: 63
Views: 29433

Re: Request for character wrap (not word wrap) in fields

Apple's TextEdit has no "unwrap" setting; it's character wrap until there's a space, then it's word wrap. Mail is the same. So that's my sense of the "expected behavior". I never add manual line breaks in scripts because most of the time I want to see the line beginnings in place. I don't know that ...
by Joe F.
Tue Mar 10, 2015 12:24 am
Forum: Feature Proposals
Topic: Request for character wrap (not word wrap) in fields
Replies: 63
Views: 29433

Re: Request for character wrap (not word wrap) in fields

Sorry if I misinterpreted noncommittal replies as defending the status quo. I'm more hoping for "yeah - me too!" @richmond62 You forgot: "put fld "FEELD" into theText" It gives you the pixel width of the the first parameter (theText). Interestingly, it will give you the width of all the text in the ...
by Joe F.
Tue Mar 10, 2015 12:01 am
Forum: Feature Proposals
Topic: Request for character wrap (not word wrap) in fields
Replies: 63
Views: 29433

Re: Request for character wrap (not word wrap) in fields

Why this opposition to expanding a limited field setting? I'm not saying I don't want word wrapping, I just want character wrapping too! The forum HTML wrapping I addressed earlier (there's a CSS setting for that). No, the email client won't wrap it, but TextWrangler will - it'll wrap it any way you...
by Joe F.
Mon Mar 09, 2015 2:16 am
Forum: Feature Proposals
Topic: Request for character wrap (not word wrap) in fields
Replies: 63
Views: 29433

Re: Request for character wrap (not word wrap) in fields

That was just a random string I snatched to demonstrate the relevance of the issue to day to day coding here in the internet age. You can find similar unbroken strings in almost any web page. But the point is not about parsing strings, it's about simply displaying them and using them within a field....
by Joe F.
Mon Mar 09, 2015 12:35 am
Forum: Feature Proposals
Topic: Request for character wrap (not word wrap) in fields
Replies: 63
Views: 29433

Re: Request for character wrap (not word wrap) in fields

Line height is mandatory otherwise you wouldn't be able to accommodate resizable fonts. Character width is a bit more esoteric, only apps that are taking responsibility for rendering each pixel are going to give you that kind of functionality. It's notable that there are all kinds of functions for r...
by Joe F.
Sun Mar 08, 2015 8:43 pm
Forum: Feature Proposals
Topic: Request for character wrap (not word wrap) in fields
Replies: 63
Views: 29433

Re: Request for character wrap (not word wrap) in fields

Before long you will have to deal with long, unbroken strings of text that you must read and/or generate within your app. Indeed, a large portion of the code to run things on the internet these days is machine generated and encoded, but that is just one (huge) example of a case where you might need ...
by Joe F.
Sun Mar 08, 2015 9:03 am
Forum: Feature Proposals
Topic: Request for character wrap (not word wrap) in fields
Replies: 63
Views: 29433

Re: Request for character wrap (not word wrap) in fields

Well, irony is usually funny, but this is a case of oversight by whoever did the CSS for this forum and is easily fixed by toggling a single parameter … (word-wrap: break-word;) characterwrap.jpg In LiveCode the only "fix" would be counting out characters to insert line breaks, and then removing the...
by Joe F.
Sat Mar 07, 2015 9:26 pm
Forum: Feature Proposals
Topic: Request for character wrap (not word wrap) in fields
Replies: 63
Views: 29433

Re: Request for character wrap (not word wrap) in fields

I'd like to revive this thread. Text wrap in a field isn't something I should have to code to accommodate lines with no spaces. It should just wrap within the field with a choice of word OR character wrap. This should also make possible soft wrap within the script editor. In another post on the foru...
by Joe F.
Thu Aug 06, 2009 4:16 am
Forum: Databases
Topic: SQLite Import tools
Replies: 5
Views: 6227

So what do they have to be?
I was going to suggest "ln".
by Joe F.
Wed Aug 05, 2009 4:15 am
Forum: Databases
Topic: SQLite Import tools
Replies: 5
Views: 6227

I would just use a text editor to convert the tabs to spaces and the returns to characters. Then you'd be able to save as a tab-delimited file which would leave all your commas and semi-colons intact.
by Joe F.
Wed Aug 05, 2009 2:04 am
Forum: Internet
Topic: Browser: "Bad Character" error in Windows standalo
Replies: 0
Views: 2421

Browser: "Bad Character" error in Windows standalo

I have a stack which contains a browser that opens from a button on the main stack. This all works fine in the IDE and Mac OS X standalone, but in the Windows standalone, opening the browser gives an error: "Bad Character at line 1, character 2", which appears a second time after dismissing the dial...
by Joe F.
Fri Jul 31, 2009 7:22 am
Forum: Internet
Topic: URLEncode Question
Replies: 8
Views: 8232

Hi Mark, I'm up to date with the latest 3.5, and using the DP3 version of 4. I was wondering about the xBrowser command on your first script because they say they're deprecated. I actually wound up doing something very similar to your second script because I found I needed to have globals for the br...
by Joe F.
Wed Jul 29, 2009 5:29 am
Forum: Internet
Topic: URLEncode Question
Replies: 8
Views: 8232

Hi Mark, Well, the "InetBrowser" is a copy of the stack included within "browser_sampler.rev". They say "you can just copy this into your own stack...", unfortunately it seems you're on your own when it comes to figuring out how it works. The code isn't commented at all and it uses lots of undocumen...
by Joe F.
Sun Jul 26, 2009 2:57 am
Forum: Internet
Topic: URLEncode Question
Replies: 8
Views: 8232

Solved

I always hate finding a forum post where someone had the exact problem I'm having but never followed up with posting the solution. So... on mouseUp answer file "Select a file:" put URLEncode (it) into tMyFileLoc replace "%2F" with "/" in tMyFileLoc replace "+" with "%20" in tMyFileLoc put "file://"&...
by Joe F.
Sat Jul 25, 2009 4:35 pm
Forum: Internet
Topic: URLEncode Question
Replies: 8
Views: 8232

Rude of me to not say thanks for the pointer (and sanity check).

I realize these things after my second cup of coffee!

Cheers