Search found 3860 matches
- Sun Mar 24, 2024 9:19 pm
- Forum: Talking LiveCode
- Topic: Code folding for Livecode 9.6.9 and up
- Replies: 41
- Views: 3515
Re: Code folding for Livecode 9.6.9 and up
Hi Stam, Could you try "unfold All" either from the "Edit Menu" or via command-U. Other than that try to close the tab and reopen it. I am not surprised that this happens since I never tested this and it should be taken care of. I am just wondering if any text is lost which should not happen. I am c...
- Sat Mar 23, 2024 10:51 pm
- Forum: Talking LiveCode
- Topic: Code folding for Livecode 9.6.9 and up
- Replies: 41
- Views: 3515
Re: Code folding for Livecode 9.6.9 and up
The more I use this the more it seems so essential as to be insane this isn't part of the standard IDE right now... One feature I always liked in the glx2 script editor was the ability to organise handlers of a script into 'folders' - but frankly Bernd's solution can organise code in a similar way,...
- Fri Mar 22, 2024 8:13 pm
- Forum: Made With LiveCode
- Topic: AppLauncher - MacOS files launcher
- Replies: 21
- Views: 1647
- Fri Mar 22, 2024 5:32 pm
- Forum: Made With LiveCode
- Topic: AppLauncher - MacOS files launcher
- Replies: 21
- Views: 1647
Re: AppLauncher - MacOS files launcher
Zax,
I probably misunderstood what was asked.
Kind regards
Bernd
I probably misunderstood what was asked.
Kind regards
Bernd
- Fri Mar 22, 2024 4:59 pm
- Forum: Made With LiveCode
- Topic: AppLauncher - MacOS files launcher
- Replies: 21
- Views: 1647
Re: AppLauncher - MacOS files launcher
I'm still unable to disable Cmd-Q Apple menu shortcut. Hi Zax, I tried to make a minimal standalone with the command-Q shortcut disabled. I selected "Disabled" in Menu Builder for the File Menu setDisabled.jpg Before compiling I set via "Menu Builder" (that seems to do the trick) setAsStackMenubar....
- Thu Mar 14, 2024 7:37 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: background color of text with metadata
- Replies: 35
- Views: 2080
Re: background color of text with metadata
Bernd. Are you an Emily Dickinson fan? I am. Craig Actually I was intrigued by the text you chose and looked it up. Then I found the whole poem and liked it very much. So I was not an Emily Dickinson fan (only heard her name before) but now I like this poem and her name means something to me. Thank...
- Thu Mar 14, 2024 7:33 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: background color of text with metadata
- Replies: 35
- Views: 2080
Re: background color of text with metadata
Jeff,
I think your solution is straightforward and easy to maintain.
Glad you solved the problem.
Kind regards
Bernd
I think your solution is straightforward and easy to maintain.
Glad you solved the problem.
Kind regards
Bernd
- Thu Mar 14, 2024 7:25 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Missing Fonts
- Replies: 37
- Views: 2725
Re: Missing Fonts
Gary,
I am glad you found a solution. Very interesting story.
Kind regards
Bernd
I am glad you found a solution. Very interesting story.
Kind regards
Bernd
- Thu Mar 14, 2024 2:12 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: background color of text with metadata
- Replies: 35
- Views: 2080
Re: background color of text with metadata
Bernd, you previous solution is clearly superior - this kludge is fine but scrolling and multiple highlights are an issue... if having to scroll multiple highlights this would quickly escalate into a slow-grinding nightmare! I quite like what you did with your previous solution... goes to show ther...
- Thu Mar 14, 2024 1:28 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: background color of text with metadata
- Replies: 35
- Views: 2080
Re: background color of text with metadata
Nicely done. It solves the problem of metadata corrupting the backColor. But yours is a kludge as well, and I wonder how Jeff will choose... :wink: Craig, Speaking of kludge: Here is a version of your stack that hilites more than one line, makes extensive use of formattedRect, creates a graphic tha...
- Wed Mar 13, 2024 10:40 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Missing Fonts
- Replies: 37
- Views: 2725
Re: Missing Fonts
set the textfont of fld "fFont" to "Quicksand Light" You can not just set the name of a font except if you are sure there is a font that is named like that. Only the pulldown menu of the Font section of a newly opened Properties Inspector would have the right name. Sparkout posted a link to a Quali...
- Wed Mar 13, 2024 9:30 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Missing Fonts
- Replies: 37
- Views: 2725
Re: Missing Fonts
Gary, on mouseup answer file "Select a Font..." put it into tFont start using font file tFont set the textfont of fld "fFont" to tFont ## does not work ########## end mouseup as you can see in the properties inspector the last line of your code tries to set the font of the field to the path to the f...
- Wed Mar 13, 2024 8:56 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: background color of text with metadata
- Replies: 35
- Views: 2080
Re: background color of text with metadata
Bernd. So the metadata is never set as a property to the words themselves, but rather in the "owner" of those words, that is, the line? In that case how do you pull the individual metaDatas for each word? Is the line metadata an associated list of pairs, each word in the line to a string of some so...
- Wed Mar 13, 2024 5:52 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: background color of text with metadata
- Replies: 35
- Views: 2080
Re: background color of text with metadata
Jeff, I made another attempt at being able to set the backgroundColor of words in a text and provide metadata for each word. For me this works. I store the metadata of words in the metadata of line 1 of the field. Have a look at the demo stack and see if it fits your needs. There is a little more in...
- Tue Mar 12, 2024 10:52 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: background color of text with metadata
- Replies: 35
- Views: 2080
Re: background color of text with metadata
Jeff, see edit below One way to work around the backgroundColor problem with metadata is to use linkText as a property of the word. You just set the linkText of a word and you could handle it just like metaData. As far as I can see there is no functional difference. You do NOT set the textStyle to "...