Search found 8599 matches

by richmond62
Tue Apr 16, 2024 6:35 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Styling paragraphs/lines?
Replies: 44
Views: 1066

Re: Styling paragraphs/lines?

Indeed, all you need is ASCII 11 and no overlays or anything else.
by richmond62
Tue Apr 16, 2024 5:51 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Styling paragraphs/lines?
Replies: 44
Views: 1066

Re: Styling paragraphs/lines?

Why do quite a few things that might have been expected to be fundamental to LiveCode come down to awkward kludges or work-arounds?
by richmond62
Tue Apr 16, 2024 3:21 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Styling paragraphs/lines?
Replies: 44
Views: 1066

Re: Styling paragraphs/lines?

I am naturally lazy, so I always look for the simplest and easiest way to do things: of course these ways are not always the best.
by richmond62
Tue Apr 16, 2024 2:49 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Styling paragraphs/lines?
Replies: 44
Views: 1066

Re: Styling paragraphs/lines?

Of course you could use both methods in different situations. 8)
by richmond62
Tue Apr 16, 2024 2:40 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Styling paragraphs/lines?
Replies: 44
Views: 1066

Re: Styling paragraphs/lines?

Well, I am leaning my way only because it takes less work. 8)
by richmond62
Mon Apr 15, 2024 2:17 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Bad Document Id
Replies: 5
Views: 151

Re: Bad Document Id

Display it where?
by richmond62
Mon Apr 15, 2024 1:14 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Bad Document Id
Replies: 5
Views: 151

Re: Bad Document Id

Looks all a bit decontextualised really.

A bit more explanation might make things easier.
by richmond62
Mon Apr 15, 2024 10:09 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Styling paragraphs/lines?
Replies: 44
Views: 1066

Re: Styling paragraphs/lines?

A simpler way to put borders round whatever text you want works like this: - SShot 2024-04-15 at 12.08.15.png - on mouseUp put the selectedText into SELEX replace cr with numToNativeChar(11) in SELEX delete the selectedText put SELEX after the selectedText set the borderwidth of the selectedText to ...
by richmond62
Sat Apr 13, 2024 6:17 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Styling paragraphs/lines?
Replies: 44
Views: 1066

Re: Styling paragraphs/lines?

on mouseUp put paragraph 2 to 3 of fld "f1" into PARAS1 delete paragraph 2 to 3 of fld "f1" replace cr with numToNativeChar(11) in PARAS1 put cr & PARAS1 & cr after paragraph 1 of fld "f1" set the borderwidth of paragraph 2 of fld "f1" to 4 set the bordercolor of paragraph 2 of fld "f1" to "purple"...
by richmond62
Sat Apr 13, 2024 5:52 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Styling paragraphs/lines?
Replies: 44
Views: 1066

Re: Styling paragraphs/lines?

One of the things that interests me as an English teacher is what, in LiveCode constitutes a paragraph. In English a paragraph can be represented in 2 distinct ways: 1. Each new paragraph is represented by a carriage return and an indentation (Tab key). 2 Each new paragraph is represented by a doubl...
by richmond62
Sat Apr 13, 2024 8:26 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Styling paragraphs/lines?
Replies: 44
Views: 1066

Re: Styling paragraphs/lines?

But we have to replace all CRs typed/pasted by users, and it add complexity.
Doesn't that mean that your border will go round all the text, not just the paragraphs you want?
by richmond62
Sat Apr 13, 2024 8:21 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Styling paragraphs/lines?
Replies: 44
Views: 1066

Re: Styling paragraphs/lines?

Are you wedded to using the border-whatevers?
Personally, after Zak's OP, I am not 'wedded', but I am 'in a relationship', as it does seem a good thing, if it is at all possible. 8)
by richmond62
Fri Apr 12, 2024 7:09 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Styling paragraphs/lines?
Replies: 44
Views: 1066

Re: Styling paragraphs/lines?

Yup: vertical tabulation. Hex B.

Then, as I demonstrated above, NO paragraphs are understood at all.
by richmond62
Fri Apr 12, 2024 1:27 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Styling paragraphs/lines?
Replies: 44
Views: 1066

Re: Styling paragraphs/lines?

I tried lines and it is seemingly NOT possible to put a border round selected lines. It is, however, possible to set the backGroundColor to a set of selected lines. You can do this: - SShot 2024-04-12 at 15.28.58.png - on mouseUp set the backGroundColor of paragraph 2 to 5 of field "ff" to "green" e...
by richmond62
Fri Apr 12, 2024 12:24 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Styling paragraphs/lines?
Replies: 44
Views: 1066

Re: Styling paragraphs/lines?

Sacre m . . . : I even tried this:

Code: Select all

on mouseUp
   select paragraph 2 to 4 of fld "ff"
   set the bordercolor of the selectedChunk to "green"
   set the borderwidth of the selectedChunk to 3
end mouseUp
and got exactly the same thing.

Go to advanced search