Insure all public methods are overridden in interface; move interfaces to view package #631
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
TextEditingArea
and its interfaces were moved back to the view package because it seemed more appropriate for them to be there than the model package, where they seemed to add unnecessary bloat.Also, since #630 refers a developer to the interfaces despite some of the public methods in
GenericStyledArea
not being declared or documented inTextEditingArea
or one of its interfaces, these methods are now declared and documented in those places and overridden inGenericStyledArea
.Since two event classes were already in the
util
package, and a third event class was still in theview
package, these were moved to a newevent
package where it seemed more logical to put them there and also removes a little bloat in theview
package. This leaves theutil
package open for additional utility classes in the future.Lastly,
_position()
comes from #213 but has never been renamed to distinguish its functionality fromposition()
. Since it only callsnavigator.position()
, which is itself confusing due to the other "navigators" that appear throughout the code or its dependencies, this was renamed to a clearer name. I also removed the middle-man-like method since it's only usage is incurrentLine()
.