Validate Wrap line width (#2606)
Co-authored-by: GCHQDeveloper581 <63102987+GCHQDeveloper581@users.noreply.github.com> Co-authored-by: C85297 <95289555+C85297@users.noreply.github.com>
This commit is contained in:
co-authored by
GCHQDeveloper581
C85297
parent
961bbab682
commit
179eb9a379
@@ -6,6 +6,8 @@
|
||||
|
||||
import Operation from "../Operation.mjs";
|
||||
|
||||
const MAX_LINE_WIDTH = 65536;
|
||||
|
||||
/**
|
||||
* Wrap operation
|
||||
*/
|
||||
@@ -27,6 +29,9 @@ class Wrap extends Operation {
|
||||
"name": "Line Width",
|
||||
"type": "number",
|
||||
"value": 64,
|
||||
"min": 1,
|
||||
"max": MAX_LINE_WIDTH,
|
||||
"integer": true,
|
||||
},
|
||||
];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user