Transpiled version (1036L) is out of date.
1 | !7 |
2 | |
3 | cmodule CustomAutoCompleteTest { |
4 | transient RSyntaxTextArea textArea; |
5 | |
6 | visualize { |
7 | textArea = javaxSyntaxTextArea(); |
8 | swing { |
9 | CompletionProviderBase provider = new { |
10 | protected L<Completion> getCompletionsImpl(JTextComponent comp) { |
11 | ret ll(new BasicCompletion(this, "test-" + now())); |
12 | } |
13 | |
14 | protected L<ParameterizedCompletion> getParameterizedCompletions(JTextComponent tc) { null; } |
15 | }; |
16 | new AutoCompletion(provider).install(textArea); |
17 | } |
18 | ret swingNu(RTextScrollPane, textArea); |
19 | } |
20 | } |
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): cfunsshuasjs, mqqgnosmbjvj, tvejysmllsmz
No comments. add comment
Snippet ID: | #1021152 |
Snippet name: | Custom Auto-Complete Test [doesn't work yet] |
Eternal ID of this version: | #1021152/3 |
Text MD5: | 7f657b67f5c4512011a730880e58b11b |
Author: | stefan |
Category: | javax |
Type: | JavaX source code (Dynamic Module) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | Yes |
Created/modified: | 2019-01-25 13:32:35 |
Source code size: | 582 bytes / 20 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 348 / 429 |
Version history: | 2 change(s) |
Referenced in: | [show references] |