Bug 104534 - [RFE] Upon saving a text file with unknown characters a more verbose error dialog should be shown
Summary: [RFE] Upon saving a text file with unknown characters a more verbose error di...
Status: RESOLVED DUPLICATE of bug 89866
Alias: None
Product: kate
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Gentoo Packages Linux
: NOR wishlist
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-25 17:12 UTC by Janne Pikkarainen
Modified: 2007-12-07 15:24 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Janne Pikkarainen 2005-04-25 17:12:19 UTC
Version:            (using KDE KDE 3.4.0)
Installed from:    Gentoo Packages
OS:                Linux

My girlfriend occasionally needs to import lots of text from Word documents and other obscure sources to KDevelop by copying and pasting it. 

Normally this works ok, but if source document contains any characters not belonging to current character set (say, a Word smart quote), saving the current file in KDevelop fails, throwing an error dialog about illegal characters.

It would be very handy, if KDevelop could show the error dialog in a more verbose manner, something like

    .----------------------------------.
    | Saving file xxxxxxx.txt failed!  |
    | Reason: Illegal characters found |
    |                                  |
    |     [Show errors]  [Cancel]      |
    |__________________________________|

After clicking "Show errors" a new dialog should be shown. This dialog would tell and highlight the exact lines and reveal the lurking illegal characters.

    .---------------------------------.
    | Illegal character in line 357,  |
    | line 44.                        |
    |     [Next] [Previous] [Cancel]  |
    |_________________________________|

Clicking "Next" and "Previous" should behave just like a normal Search dialog, so text cursor should jump to the exact place of current error.

Credits for this idea goes to Jessika Penttinen.
Comment 1 Thiago Macieira 2005-04-26 04:58:31 UTC
Reassigning to the editor part.
Comment 2 Thomas Friedrichsmeier 2007-12-07 15:24:41 UTC

*** This bug has been marked as a duplicate of 89866 ***