mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
allow a maximum of 200 columns
This commit is contained in:
parent
7b4ae18785
commit
876cf49ed7
1 changed files with 2 additions and 0 deletions
|
@ -729,6 +729,8 @@ public class TraditionalRendering extends AbstractMemoryRendering implements IRe
|
|||
int i= Integer.parseInt(input);
|
||||
if (i <= 0)
|
||||
return "Please enter a positive integer"; //$NON-NLS-1$
|
||||
if (i > 200)
|
||||
return "Please enter a positive integer not greater than 200"; //$NON-NLS-1$
|
||||
|
||||
} catch (NumberFormatException x) {
|
||||
return "Please enter a positive integer"; //$NON-NLS-1$
|
||||
|
|
Loading…
Add table
Reference in a new issue