Home
IDEs Support (IntelliJ Platform) | JetBrains
Contact Support
Community
Sign in
Ivan Semenov
Total activity
10
Last activity
March 25, 2021 11:42
Member since
April 28, 2018 13:53
Following
0 users
Followed by
0 users
Votes
0
Subscriptions
2
Activity overview
Articles (0)
Posts (0)
Comments (8)
Ivan Semenov
commented,
March 25, 2021 11:42
EditorTextWidthWatcher is an inner class of EditorComponentInlaysManager, so you should have it as well. invoking width update in a constrcutor shouldn't have any side effects.
Community
IntelliJ IDEA Open API and Plugin Development
Issues embedding editor in block inlay
0 votes
Ivan Semenov
commented,
March 23, 2021 10:41
Ah. Found the issue with sizing and it's very simple to fix. Just invoke `updateWidthForAllInlays` in `EditorTextWidthWatcher.init`.It wasn't needed for reviews bc the manager is created before the...
Community
IntelliJ IDEA Open API and Plugin Development
Issues embedding editor in block inlay
0 votes
Ivan Semenov
commented,
March 22, 2021 10:36
Ok. Will try to find some solution. It will probably require platform changes, so I can't say when it will be implemented.
Community
IntelliJ IDEA Open API and Plugin Development
Issues embedding editor in block inlay
0 votes
Ivan Semenov
commented,
March 18, 2021 16:32
Having spent some time looking at this I have a question - do you need a really full-fledged editor in an inlay or a simple text editor like "JTextArea" would suffice?
Community
IntelliJ IDEA Open API and Plugin Development
Issues embedding editor in block inlay
0 votes
Ivan Semenov
commented,
March 18, 2021 08:10
That would be me, unfortunately - "developers responsible for that". And in review comments this issue was fixed a long time ago. I've tried the updated action and it indeed doesn't work as expecte...
Community
IntelliJ IDEA Open API and Plugin Development
Issues embedding editor in block inlay
0 votes
Ivan Semenov
commented,
March 17, 2021 15:42
Thank you for the code snippet, it definitely helped.Unfortunately I couldn't solve the issue with initial appearance. Stragest thing is that it only works this way before the first inlay "fix" for...
Community
IntelliJ IDEA Open API and Plugin Development
Issues embedding editor in block inlay
0 votes
Ivan Semenov
commented,
March 01, 2021 15:18
Hi, ColinWhich version of the IntelliJ sources are you using? Some of the sizing issues were globally fixed recently. Having some code examples would also be great - I can't tell exactly what is go...
Community
IntelliJ IDEA Open API and Plugin Development
Issues embedding editor in block inlay
1 vote
Ivan Semenov
commented,
April 28, 2018 14:08
Hi, we will fix this shorty. Meanwhile you can alter the code so it works for you locally like so (and import HeadlessToolkit): public static void fixFormattedField(JFormattedTextField field) { if...
Community
IntelliJ IDEA Open API and Plugin Development
Compile from Source Failed
0 votes