forked from psemiletov/tea-qt
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ability to re-open file in different charset from FM panel, not just …
…from File - Reload
- Loading branch information
1 parent
0e4fb7e
commit 92f2aee
Showing
10 changed files
with
18 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
Code and design: | ||
Peter 'Roxton' Semiletov <[email protected], http://semiletov.org> | ||
Peter 'Roxton' Semiletov <[email protected], http://semiletov.org> | ||
|
||
PHP hl module by Boo-boo. | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
/*************************************************************************** | ||
* 2007-2016 by Peter Semiletov * | ||
* [email protected] * | ||
* [email protected] * | ||
* * | ||
* This program is free software; you can redistribute it and/or modify * | ||
* it under the terms of the GNU General Public License as published by * | ||
|
@@ -403,6 +403,7 @@ CDocument* document_holder::open_file (const QString &fileName, const QString &c | |
if (d) | ||
{ | ||
tab_widget->setCurrentIndex (tab_widget->indexOf (d->tab_page)); | ||
d->reload (codec); | ||
return d; | ||
} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
/*************************************************************************** | ||
* 2007-2017 by Peter Semiletov <[email protected]> * | ||
* 2007-2017 by Peter Semiletov <[email protected]> * | ||
* * | ||
* * | ||
* This program is free software; you can redistribute it and/or modify * | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
/************************************************************************** | ||
* 2007-2016 by Peter Semiletov * | ||
* [email protected] * | ||
* 2007-2017 by Peter Semiletov * | ||
* [email protected] * | ||
* * | ||
* This program is free software; you can redistribute it and/or modify * | ||
* it under the terms of the GNU General Public License as published by * | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
/************************************************************************** | ||
* 2007-2014 by Peter Semiletov * | ||
* [email protected] * | ||
* 2007-2017 by Peter Semiletov * | ||
* [email protected] * | ||
* * | ||
* This program is free software; you can redistribute it and/or modify * | ||
* it under the terms of the GNU General Public License as published by * | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
/*************************************************************************** | ||
* Copyright (C) 2007-2011 by Peter Semiletov * | ||
* 2007-2017 by Peter Semiletov * | ||
* [email protected] * | ||
* * | ||
* This program is free software; you can redistribute it and/or modify * | ||
|
@@ -40,7 +40,7 @@ CLogMemo::CLogMemo ( QWidget * parent): QPlainTextEdit (parent) | |
memo->setTextInteractionFlags (Qt::LinksAccessibleByMouse | Qt::TextSelectableByMouse | | ||
Qt::TextSelectableByKeyboard);*/ | ||
|
||
setFocusPolicy (Qt::ClickFocus); | ||
setFocusPolicy (Qt::ClickFocus); | ||
setUndoRedoEnabled (false); | ||
setReadOnly (true); | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
/*************************************************************************** | ||
* Copyright (C) 2007-2010 by Peter Semiletov * | ||
* 2007-2017 by Peter Semiletov * | ||
* [email protected] * | ||
* * | ||
* This program is free software; you can redistribute it and/or modify * | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
/*************************************************************************** | ||
* Copyleft 2007-2017 by Peter Semiletov <[email protected]> * | ||
* Copyleft 2007-2017 by Peter Semiletov <[email protected]> * | ||
* * | ||
* * | ||
* This program is free software; you can redistribute it and/or modify * | ||
|
@@ -25,7 +25,10 @@ | |
#include "rvln.h" | ||
|
||
#include "single_application.h" | ||
|
||
#ifndef Q_OS_OS2 | ||
#include "single_application_shared.h" | ||
#endif | ||
|
||
extern rvln *mainWindow; | ||
|
||
|
@@ -76,6 +79,7 @@ int main (int argc, char *argv[]) | |
|
||
return 0; | ||
} | ||
|
||
#endif | ||
|
||
mainWindow = new rvln(); | ||
|
@@ -94,5 +98,4 @@ int main (int argc, char *argv[]) | |
mainWindow->show(); | ||
|
||
return app.exec(); | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
/*************************************************************************** | ||
* 2007-2017 by Peter Semiletov * | ||
* [email protected] * | ||
* 2007-2017 by Peter Semiletov * | ||
* [email protected] * | ||
started at 08 November 2007 | ||
* * | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -99,5 +99,4 @@ bool CSingleApplicationShared::sendMessage(const QString &message) | |
return true; | ||
} | ||
|
||
|
||
#endif |