-
Notifications
You must be signed in to change notification settings - Fork 34
Objectif Monospaced Font #462
base: develop
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Works! A few remarks below. We should think about what we do with the field in the eiditor view, Will it be removed or will we put the same functionality there too?
@@ -0,0 +1,17 @@ | |||
<?xml version="1.0" encoding="UTF-8"?> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please remove this whole project
} | ||
desc = desc.trim(); | ||
|
||
if (desc.length <= 3) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would it make sense to set this to 4? This means as soon as someone types the whole word "WENN" the font is changed.
Also you could make the code much more simple by just doing description.startsWith(this.objectifIndicator)
|
||
if (this.modelDescription.length > 0) { | ||
element.modelRequirements = this.modelDescription; | ||
if (description.length > 0) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please comment on what is happening here or better, create a separate method with a speaking name
The requirement input field switches to a monospaced font, when the user types objectif code.