Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
pseuco-ide
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
10
Issues
10
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
pseuco
pseuco-ide
Commits
dd77c0ff
Verified
Commit
dd77c0ff
authored
Oct 02, 2019
by
Konstantin Kopper
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix for autocompletion: Do not match against some more symbols
parent
b2991d02
Pipeline
#13965
passed with stages
in 7 minutes and 28 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/main/kotlin/fxGui/main/PseuCoArea.kt
src/main/kotlin/fxGui/main/PseuCoArea.kt
+1
-1
No files found.
src/main/kotlin/fxGui/main/PseuCoArea.kt
View file @
dd77c0ff
...
...
@@ -249,7 +249,7 @@ internal class PseuCoArea : CodeArea() {
* @return The word on the left of [position].
*/
tailrec
fun
getWordAtPositionRecursive
(
position
:
Int
,
word
:
String
):
String
{
return
if
(
position
<
0
||
this
[
position
].
isBlank
()
||
this
[
position
][
0
]
in
"()[]{};+-*/."
)
word
return
if
(
position
<
0
||
this
[
position
].
isBlank
()
||
this
[
position
][
0
]
in
"()[]{};+-*/.
<?!
"
)
word
else
getWordAtPositionRecursive
(
position
-
1
,
this
[
position
]
+
word
)
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment