Skip to content

Commit

Permalink
Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
mkondratek committed Nov 18, 2024
1 parent 2d4a79f commit f4168ad
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ import com.sourcegraph.utils.CodyEditorUtil

class CodyDocumentListener(val project: Project) : BulkAwareDocumentListener {

// todo: it does not work after the migration to webview. see: linear.app/sourcegraph/issue/QA-78
private fun logCodeCopyPastedFromChat(event: DocumentEvent) {
val pastedCode = event.newFragment.toString()
if (pastedCode.isNotBlank() && CodeEditorFactory.lastCopiedText == pastedCode) {
Expand Down

0 comments on commit f4168ad

Please sign in to comment.