When you paste multiline text, it's omit new lines at all.
What happened?
Copy text from code window:
a
b
c
Paste it in CodeGPT chat window:
a b c
Relevant log output or stack trace
No response
Steps to reproduce
No response
CodeGPT version
2.8.5-241.1
Operating System
Windows
Any updates?
Thanks for reporting! I'll try to fix it in the next release.
Weird... with the native Java Swing JTextPane component (which CodeGPT is using), the PasteAction events are never triggered and I can't seem to figure out why either. Anyhow, after some burned hours, I decided to replace the underlying UI component with IntelliJ's EditorTextField one, which should give you the same experience as you would use an editor to write a .txt file.
Looks good so far, I'll try to make it available sometime next week.
https://github.com/user-attachments/assets/21845501-7b2d-49ee-9936-4a64bfe1d1b5