|
| 1 | +# FCMTextExpressionDef |
| 2 | + |
| 3 | +## Summary of Modifications |
| 4 | +- Setters that accept `FCString` also accept a Lua string. |
| 5 | +- `FCString` parameter in getters is optional and if omitted, the result will be returned as a Lua `string`. |
| 6 | +- Methods that returned a boolean to indicate success/failure now throw an error instead. |
| 7 | + |
| 8 | +## Functions |
| 9 | + |
| 10 | +- [SaveNewTextBlock(self, str)](#savenewtextblock) |
| 11 | +- [AssignToCategory(self, cat_def)](#assigntocategory) |
| 12 | +- [SetUseCategoryPos(self, enable)](#setusecategorypos) |
| 13 | +- [SetUseCategoryFont(self, enable)](#setusecategoryfont) |
| 14 | +- [MakeRehearsalMark(self, str, measure)](#makerehearsalmark) |
| 15 | +- [SaveTextString(self, str)](#savetextstring) |
| 16 | +- [DeleteTextBlock(self)](#deletetextblock) |
| 17 | +- [SetDescription(self, str)](#setdescription) |
| 18 | +- [GetDescription(self, str)](#getdescription) |
| 19 | +- [DeepSaveAs(self, item_num)](#deepsaveas) |
| 20 | +- [DeepDeleteData(self)](#deepdeletedata) |
| 21 | + |
| 22 | +### SaveNewTextBlock |
| 23 | + |
| 24 | +```lua |
| 25 | +fcmtextexpressiondef.SaveNewTextBlock(self, str) |
| 26 | +``` |
| 27 | + |
| 28 | +[View source](https://github.com/finale-lua/lua-scripts/tree/master/src/mixin/FCMTextExpressionDef.lua#L36) |
| 29 | + |
| 30 | +**[Breaking Change] [Fluid] [Override]** |
| 31 | + |
| 32 | +Override Changes: |
| 33 | +- Throws an error instead of returning a boolean for success/failure. |
| 34 | +- Accepts Lua `string` in addition to `FCString`. |
| 35 | + |
| 36 | +| Input | Type | Description | |
| 37 | +| ----- | ---- | ----------- | |
| 38 | +| `self` | `FCMTextExpressionDef` | | |
| 39 | +| `str` | `string \| FCString` | The initializing string | |
| 40 | + |
| 41 | +### AssignToCategory |
| 42 | + |
| 43 | +```lua |
| 44 | +fcmtextexpressiondef.AssignToCategory(self, cat_def) |
| 45 | +``` |
| 46 | + |
| 47 | +[View source](https://github.com/finale-lua/lua-scripts/tree/master/src/mixin/FCMTextExpressionDef.lua#L55) |
| 48 | + |
| 49 | +**[Breaking Change] [Fluid] [Override]** |
| 50 | + |
| 51 | +Override Changes: |
| 52 | +- Throws an error instead of returning a boolean for success/failure. |
| 53 | + |
| 54 | +| Input | Type | Description | |
| 55 | +| ----- | ---- | ----------- | |
| 56 | +| `self` | `FCMTextExpressionDef` | | |
| 57 | +| `cat_def` | `FCCategoryDef` | the parent Category Definition | |
| 58 | + |
| 59 | +### SetUseCategoryPos |
| 60 | + |
| 61 | +```lua |
| 62 | +fcmtextexpressiondef.SetUseCategoryPos(self, enable) |
| 63 | +``` |
| 64 | + |
| 65 | +[View source](https://github.com/finale-lua/lua-scripts/tree/master/src/mixin/FCMTextExpressionDef.lua#L73) |
| 66 | + |
| 67 | +**[Breaking Change] [Fluid] [Override]** |
| 68 | + |
| 69 | +Override Changes: |
| 70 | +- Throws an error instead of returning a boolean for success/failure. |
| 71 | + |
| 72 | +| Input | Type | Description | |
| 73 | +| ----- | ---- | ----------- | |
| 74 | +| `self` | `FCMTextExpressionDef` | | |
| 75 | +| `enable` | `boolean` | | |
| 76 | + |
| 77 | +### SetUseCategoryFont |
| 78 | + |
| 79 | +```lua |
| 80 | +fcmtextexpressiondef.SetUseCategoryFont(self, enable) |
| 81 | +``` |
| 82 | + |
| 83 | +[View source](https://github.com/finale-lua/lua-scripts/tree/master/src/mixin/FCMTextExpressionDef.lua#L91) |
| 84 | + |
| 85 | +**[Breaking Change] [Fluid] [Override]** |
| 86 | + |
| 87 | +Override Changes: |
| 88 | +- Throws an error instead of returning a boolean for success/failure. |
| 89 | + |
| 90 | +| Input | Type | Description | |
| 91 | +| ----- | ---- | ----------- | |
| 92 | +| `self` | `FCMTextExpressionDef` | | |
| 93 | +| `enable` | `boolean` | | |
| 94 | + |
| 95 | +### MakeRehearsalMark |
| 96 | + |
| 97 | +```lua |
| 98 | +fcmtextexpressiondef.MakeRehearsalMark(self, str, measure) |
| 99 | +``` |
| 100 | + |
| 101 | +[View source](https://github.com/finale-lua/lua-scripts/tree/master/src/mixin/FCMTextExpressionDef.lua#L112) |
| 102 | + |
| 103 | +**[Breaking Change] [Fluid] [Override]** |
| 104 | + |
| 105 | +Override Changes: |
| 106 | +- Throws an error instead of returning a boolean for success/failure. |
| 107 | +- Passing an `FCString` is optional. If omitted, the result is returned as a Lua `string`. If passed, nothing is returned and the method is fluid. |
| 108 | + |
| 109 | +| Input | Type | Description | |
| 110 | +| ----- | ---- | ----------- | |
| 111 | +| `self` | `FCMTextExpressionDef` | | |
| 112 | +| `str` (optional) | `FCString` | | |
| 113 | +| `measure` | `integer` | | |
| 114 | + |
| 115 | +| Return type | Description | |
| 116 | +| ----------- | ----------- | |
| 117 | +| `string` | If `FCString` is omitted. | |
| 118 | + |
| 119 | +### SaveTextString |
| 120 | + |
| 121 | +```lua |
| 122 | +fcmtextexpressiondef.SaveTextString(self, str) |
| 123 | +``` |
| 124 | + |
| 125 | +[View source](https://github.com/finale-lua/lua-scripts/tree/master/src/mixin/FCMTextExpressionDef.lua#L146) |
| 126 | + |
| 127 | +**[Breaking Change] [Fluid] [Override]** |
| 128 | + |
| 129 | +Override Changes: |
| 130 | +- Throws an error instead of returning a boolean for success/failure. |
| 131 | +- Accepts Lua `string` in addition to `FCString`. |
| 132 | + |
| 133 | +| Input | Type | Description | |
| 134 | +| ----- | ---- | ----------- | |
| 135 | +| `self` | `FCMTextExpressionDef` | | |
| 136 | +| `str` | `string \| FCString` | The initializing string | |
| 137 | + |
| 138 | +### DeleteTextBlock |
| 139 | + |
| 140 | +```lua |
| 141 | +fcmtextexpressiondef.DeleteTextBlock(self) |
| 142 | +``` |
| 143 | + |
| 144 | +[View source](https://github.com/finale-lua/lua-scripts/tree/master/src/mixin/FCMTextExpressionDef.lua#L165) |
| 145 | + |
| 146 | +**[Breaking Change] [Fluid] [Override]** |
| 147 | + |
| 148 | +Override Changes: |
| 149 | +- Throws an error instead of returning a boolean for success/failure. |
| 150 | + |
| 151 | +| Input | Type | Description | |
| 152 | +| ----- | ---- | ----------- | |
| 153 | +| `self` | `FCMTextExpressionDef` | | |
| 154 | + |
| 155 | +### SetDescription |
| 156 | + |
| 157 | +```lua |
| 158 | +fcmtextexpressiondef.SetDescription(self, str) |
| 159 | +``` |
| 160 | + |
| 161 | +[View source](https://github.com/finale-lua/lua-scripts/tree/master/src/mixin/FCMTextExpressionDef.lua#L182) |
| 162 | + |
| 163 | +**[Breaking Change] [Fluid] [Override]** |
| 164 | + |
| 165 | +Override Changes: |
| 166 | +- Accepts Lua `string` in addition to `FCString`. |
| 167 | + |
| 168 | +| Input | Type | Description | |
| 169 | +| ----- | ---- | ----------- | |
| 170 | +| `self` | `FCMTextExpressionDef` | | |
| 171 | +| `str` | `string \| FCString` | The initializing string | |
| 172 | + |
| 173 | +### GetDescription |
| 174 | + |
| 175 | +```lua |
| 176 | +fcmtextexpressiondef.GetDescription(self, str) |
| 177 | +``` |
| 178 | + |
| 179 | +[View source](https://github.com/finale-lua/lua-scripts/tree/master/src/mixin/FCMTextExpressionDef.lua#L202) |
| 180 | + |
| 181 | +**[Breaking Change] [Fluid] [Override]** |
| 182 | + |
| 183 | +Override Changes: |
| 184 | +- Passing an `FCString` is optional. If omitted, the result is returned as a Lua `string`. If passed, nothing is returned and the method is fluid. |
| 185 | + |
| 186 | +| Input | Type | Description | |
| 187 | +| ----- | ---- | ----------- | |
| 188 | +| `self` | `FCMTextExpressionDef` | | |
| 189 | +| `str` (optional) | `FCString` | | |
| 190 | + |
| 191 | +| Return type | Description | |
| 192 | +| ----------- | ----------- | |
| 193 | +| `string` | If `FCString` is omitted. | |
| 194 | + |
| 195 | +### DeepSaveAs |
| 196 | + |
| 197 | +```lua |
| 198 | +fcmtextexpressiondef.DeepSaveAs(self, item_num) |
| 199 | +``` |
| 200 | + |
| 201 | +[View source](https://github.com/finale-lua/lua-scripts/tree/master/src/mixin/FCMTextExpressionDef.lua#L226) |
| 202 | + |
| 203 | +**[Breaking Change] [Fluid] [Override]** |
| 204 | + |
| 205 | +Override Changes: |
| 206 | +- Throws an error instead of returning a boolean for success/failure. |
| 207 | + |
| 208 | +| Input | Type | Description | |
| 209 | +| ----- | ---- | ----------- | |
| 210 | +| `self` | `FCMTextExpressionDef` | | |
| 211 | +| `item_num` | `integer` | | |
| 212 | + |
| 213 | +### DeepDeleteData |
| 214 | + |
| 215 | +```lua |
| 216 | +fcmtextexpressiondef.DeepDeleteData(self) |
| 217 | +``` |
| 218 | + |
| 219 | +[View source](https://github.com/finale-lua/lua-scripts/tree/master/src/mixin/FCMTextExpressionDef.lua#L243) |
| 220 | + |
| 221 | +**[Breaking Change] [Fluid] [Override]** |
| 222 | + |
| 223 | +Override Changes: |
| 224 | +- Throws an error instead of returning a boolean for success/failure. |
| 225 | + |
| 226 | +| Input | Type | Description | |
| 227 | +| ----- | ---- | ----------- | |
| 228 | +| `self` | `FCMTextExpressionDef` | | |
0 commit comments