Transpiled version (5222L) is out of date.
1 | static AutoCompletion installCompletionProvider(DefaultCompletionProvider completionProvider, RSyntaxTextArea textArea) swing { |
2 | if (completionProvider == null || textArea == null) null; |
3 | |
4 | //completionProvider.setAutoActivationRules(true, " "); |
5 | var autoComplete = new AutoCompletion(completionProvider); |
6 | autoComplete.setAutoCompleteSingleChoices(false); |
7 | //autoComplete.setAutoActivationEnabled(true); |
8 | //autoComplete.setAutoActivationDelay(2000); |
9 | autoComplete.install(textArea); |
10 | ret autoComplete; |
11 | } |
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj
No comments. add comment
Snippet ID: | #1034696 |
Snippet name: | installCompletionProvider |
Eternal ID of this version: | #1034696/7 |
Text MD5: | 6c8279aaa42d68fbd847b2346769a03e |
Author: | stefan |
Category: | javax / gui |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2022-05-14 00:05:45 |
Source code size: | 523 bytes / 11 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 154 / 247 |
Version history: | 6 change(s) |
Referenced in: | [show references] |