Skip to content

Commit b37327d

Browse files
committed
Merge pull request livecode#3903 from livecode/community-docs
Community docs merge
2 parents 971e1c5 + d2cd3dc commit b37327d

File tree

5 files changed

+21
-2
lines changed

5 files changed

+21
-2
lines changed

docs/contributing_to_docs.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,21 @@ website, without having to download any software or use the command line.
144144
For example, the accept command is at:
145145
https://github.com/livecode/livecode/blob/community-docs/docs/dictionary/command/accept.lcdoc
146146

147+
Either go directly to the community docs branch URL
148+
(https://github.com/livecode/livecode/tree/community-docs) or if you are
149+
on the main LiveCode repository page, select 'community-docs' from the
150+
branch dropdown menu:
151+
152+
![](images/branch-dropdown.png)
153+
154+
You should see that the community-docs branch is selected both in the
155+
label of the dropdown and the url of your browser.
156+
157+
![](images/community-docs-branch.png)
158+
159+
Now use the file system browser to find the file you want to modify, and
160+
click on it.
161+
147162
![](images/livecode-repo-filesystem.png)
148163

149164
**Click the pencil icon to the right of Raw|Blame|History buttons**

docs/dictionary/property/formattedHeight.lcdoc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,9 @@ If you specify an image or player, the <formattedHeight> <property> reports the
3434

3535
If you specify an object in a group, the value reported is the <formattedHeight> that <object> requires for the <current card>, so if you want to get the <formattedHeight> of a <field(object)|field's> text on a certain <card>, you must go to that <card> first.
3636

37-
The <formattedHeight> of a <chunk> in a <field(keyword)> is the amount of vertical space that portion of the <field(object)|field's> text requires, taking line breaks into account.
37+
The <formattedHeight> of a <field(keyword)> is the amount of vertical space the <field(object)|field's> text requires, taking line breaks into account and including top and bottom margins.
38+
39+
The <formattedHeight> of a <chunk> in a <field(keyword)> is the amount of vertical space that portion of the <field(object)|field's> text requires, taking line breaks into account but disregarding margins.
3840

3941
References: formattedTop (property), visible (property), thumbSize (property), fixedLineHeight (property), margins (property), integer (keyword), image (keyword), field (keyword), card (keyword), revChangeWindowSize (command), group (command), textHeightSum (function), stack (object), object (object), field (object), property (glossary), handler (glossary), current card (glossary), chunk (glossary)
4042

docs/dictionary/property/formattedWidth.lcdoc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,9 @@ If you specify a field, the <formattedWidth> reports the width required by the <
3434

3535
If you specify an object in a group, the value reported is the <formattedWidth> that <object> requires for the <current card>, so if you want to get the <formattedWidth> of a <field(object)|field's> text on a certain <card>, you must go to that <card> first.
3636

37-
The <formattedWidth> of a <chunk> in a <field(keyword)> is the amount of horizontal space that portion of the <field(object)|field's> text requires, taking line breaks into account.
37+
The <formattedWidth> of a <field(keyword)> is the amount of horizontal space the <field(object)|field's> text requires, taking line breaks into account and including left and right margins.
38+
39+
The <formattedWidth> of a <chunk> in a <field(keyword)> is the amount of horizontal space that portion of the <field(object)|field's> text requires, taking line breaks into account but disregarding margins.
3840

3941
References: dontWrap (property), visible (property), thumbSize (property), margins (property), integer (keyword), image (keyword), field (keyword), card (keyword), revChangeWindowSize (command), group (command), textHeightSum (function), field (object), object (object), stack (object), property (glossary), current card (glossary), chunk (glossary)
4042

docs/images/branch-dropdown.png

69.2 KB
Loading
89.9 KB
Loading

0 commit comments

Comments
 (0)