You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using the SwiftParser and all of it's associated classes from a Mac app Xcode project, and am initialising it and passing in the unformatted Swift String, and setting the "autoRemoveChar" and "Indent.paraAlign" from within the init function, for testing purposes.
I send an NSTextView.string to the init function, and assign the returned formatted string to the NSTextView.string, all appears to be working well until you send a string with too many and unnecessary spaces, from within a curley brace block or loop or conditional block.
I found this out by mistake when accidentally entering to many gaps between code words like this.
The returned formatted code had closed the gaps as expected, but had indented the Curley braces further than they were already set, and continued to affect any further formatting on new typed or added code .
At this stage I'm trying to work out if it has something to do with the NSTextView's string, or the formatting by the SwiftParser.
Any ideas or help as to what might be happening here would be appreciated ?
And how it could possibly be resolved ?
Kind Regards
Mark
The text was updated successfully, but these errors were encountered:
I am using the SwiftParser and all of it's associated classes from a Mac app Xcode project, and am initialising it and passing in the unformatted Swift String, and setting the "autoRemoveChar" and "Indent.paraAlign" from within the init function, for testing purposes.
I send an NSTextView.string to the init function, and assign the returned formatted string to the NSTextView.string, all appears to be working well until you send a string with too many and unnecessary spaces, from within a curley brace block or loop or conditional block.
I found this out by mistake when accidentally entering to many gaps between code words like this.
The returned formatted code had closed the gaps as expected, but had indented the Curley braces further than they were already set, and continued to affect any further formatting on new typed or added code .
At this stage I'm trying to work out if it has something to do with the NSTextView's string, or the formatting by the SwiftParser.
Any ideas or help as to what might be happening here would be appreciated ?
And how it could possibly be resolved ?
Kind Regards
Mark
The text was updated successfully, but these errors were encountered: