Alexandr Danchenko
Java/Kotlin developer
- Total activity 136
- Last activity
- Member since
- Following 0 users
- Followed by 0 users
- Votes 10
- Subscriptions 42
-
Alexandr Danchenko created a post, AnsweredListener for all changes in editor text
Hello, I need to add listener to handle all (any) changes in Editor text.Right now I added few listeners <typedHandler implementation="EditorTextToBrowserTypedHandler"/><editorActionHandler action... -
Alexandr Danchenko created a post, AnsweredCreate file from string and open in Editor
Hello, I need to create new file and open it in editor. I tried different approaches, but always failed because VirtualFile is null. For example, I tried PsiFile file = psiFileFactory.createFile... -
Alexandr Danchenko commented, -
Alexandr Danchenko created a post, AnsweredHow to get current editor line content
Hello, I need to get text from current line. I tried something like this val caretModel: CaretModel = editor.caretModelval psiFile = PsiManager.getInstance(project).findFile(virtualFile) ?: return... -
-
Alexandr Danchenko created a post, AnsweredJBCefBrowser how to handle JavaScript events or pass data from JavaScript to Java/Kotlin code?
Hello, I created simple plugin with JBCefBrowser. I need to handle button or link click and get data from JavaScript in Java/Kotlin code on this JS event. How to do it? Thank you! -
-
-
Alexandr Danchenko commented, -
Alexandr Danchenko created a post, AnsweredJBCefBrowser executeJavaScript() not work
Hello I need to modify JBCefBrowser content using JavaScript. I'm trying to modify html content in JBCefBrowser like this, but by some reasons it doesn't work browser.cefBrowser.executeJavaScript...