|
[Bug 86851] Kate displays "Could not read file ..." when opening a file fro: msg#00238kde.devel.kwrite
------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. http://bugs.kde.org/show_bug.cgi?id=86851 anders alweb dk changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED ------- Additional Comments From anders alweb dk 2004-09-27 23:58 ------- CVS commit by alund: Dont set textmode on KIO::Job to retrieve a remote file, since it seems that prevents kate from working with non-anonymous FTP sites. I don't understand why kwrite does not set it -- KateDocument::openURL() is called in both apps -- but it does not. CCMAIL: 86851-done bugs kde org M +11 -11 katedocument.cpp 1.752 --- kdelibs/kate/part/katedocument.cpp #1.751:1.752 @ -1886,4 +1886,5 @ bool KateDocument::searchText (unsigned bool KateDocument::searchText (unsigned int startLine, unsigned int startCol, const QRegExp ®exp, unsigned int *foundAtLine, unsigned int *foundAtCol, unsigned int *matchLen, bool backwards) { + kdDebug()<<"KateDocument::searchText( "<<startLine<<", "<<startCol<<", "<<regexp.pattern()<<", "<<backwards<<" )"<<endl; if (regexp.isEmpty() || !regexp.isValid()) return false; @ -2423,4 +2424,5 @ KMimeType::Ptr KateDocument::mimeTypeFor bool KateDocument::openURL( const KURL &url ) { +// kdDebug(13020)<<"KateDocument::openURL( "<<url.prettyURL()<<")"<<endl; // no valid URL if ( !url.isValid() ) @ -2471,5 +2473,5 @ bool KateDocument::openURL( const KURL & // set text mode - m_job->addMetaData ("textmode", "true"); +// m_job->addMetaData ("textmode", "true"); QWidget *w = widget (); @ -2488,5 +2490,5 @ bool KateDocument::openURL( const KURL & void KateDocument::slotDataKate ( KIO::Job *, const QByteArray &data ) { - kdDebug(13020) << "KateDocument::slotData" << endl; +// kdDebug(13020) << "KateDocument::slotData" << endl; if (!m_tempFile || !m_tempFile->file()) @ -2498,5 +2500,5 @ void KateDocument::slotDataKate ( KIO::J void KateDocument::slotFinishedKate ( KIO::Job * job ) { - kdDebug(13020) << "KateDocument::slotJobFinished" << endl; +// kdDebug(13020) << "KateDocument::slotJobFinished" << endl; if (!m_tempFile) @ -3941,5 +3941,5 @ void KateDocument::comment( KateView *, bool removed = false; - if (change > 0) + if (change > 0) // comment { if ( !hassel ) @ -3969,5 +3969,5 @ void KateDocument::comment( KateView *, } } - else + else // uncomment { if ( !hassel ) |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | [Bug 88740] Kate replaces outside the selection when using search and replace in box-selection-mode: 00238, Wilbert Berendsen |
|---|---|
| Next by Date: | [Bug 86851] Kate displays "Could not read file ..." when opening a file from FTP server: 00238, Anders Lund |
| Previous by Thread: | [Bug 86851] Kate displays "Could not read file ..." when opening a file from FTP serveri: 00238, Anders Lund |
| Next by Thread: | [Bug 86851] Kate displays "Could not read file ..." when opening a file from FTP server: 00238, Anders Lund |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |