| Summary: | Allow piping text to shell commands and insert result | ||
|---|---|---|---|
| Product: | [Applications] kile | Reporter: | Thomas Braun <thomas.braun> |
| Component: | general | Assignee: | Michel Ludwig <michel.ludwig> |
| Status: | ASSIGNED --- | ||
| Severity: | normal | CC: | nik |
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | unspecified | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Thomas Braun
2009-02-07 13:59:31 UTC
I had a look on this issue for kde4. And the current patch is not suitable for kile because it uses the internal Kate::Document instead of the more generic KTextEditor::Document. And in this way we would expose the private Kate::Document interface to the outside world. My suggestion is to add the following two DBUS calls which should help to solve this problem: QString getSelectedText(); // get the currently selected text in kile QString replaceSelectedText(QString); // get the currently selected text in kile and replace it with the returned string The cleanest solution would be to not fiddle at all with kile, but to write an KTextEditor plugin which is similiar to the Kate plugin "Kate TextFilter". This enhancement request is "old". Is there a work-around? Thank you for the bug report. As this report hasn't seen any changes in 5 years or more, we ask if you can please confirm that the issue still persists. If this bug is no longer persisting or relevant please change the status to resolved. |