EditorTextField is not editable. Why?
已回答
Hello.
EditorTextField created here is not editable:
https://github.com/ktisha/Crucible4IDEA/blob/dff2afd8d6f559f9d440b09afdd9bb66fc63f087/src/com/jetbrains/crucible/ui/toolWindow/details/CommentForm.java#L64
Help please with understanding why it is so.
Thanks.
请先登录再写评论。
Ruslan,
I assume that EditorTextField is set as a viewer editor - you can verify the isViewer property. You may also try to call setEnabled(true) on it.
Thanks, Jakub.
isViewer returns false.
setEnabled(true) doesn't help.
Without extra debugging, it is hard to guess, what's going on here, sorry.