Skip to content

Commit

Permalink
Fixed a regression in here-docs
Browse files Browse the repository at this point in the history
  • Loading branch information
tsujan committed Jan 11, 2021
1 parent 1402a49 commit 27a9ddd
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
4 changes: 4 additions & 0 deletions ChangeLog
@@ -1,3 +1,7 @@
V0.17.2
---------
* Fixed a regression about here-docs in 0.17.0

V0.17.1
---------
* Removed the code for making the cursor busy after 1 second — cursor overriding isn't marked as thread-safe by Qt.
Expand Down
2 changes: 1 addition & 1 deletion NEWS
@@ -1,5 +1,5 @@
Latest version:

6 Jan 2021, V0.17.0
12 Jan 2021, V0.17.0

See "ChangeLog" for changes.
3 changes: 1 addition & 2 deletions featherpad/highlighter.cpp
Expand Up @@ -4599,8 +4599,7 @@ void Highlighter::highlightBlock (const QString &text)
* "Here" Documents *
********************/

if (progLan == "sh" || progLan == "makefile" || progLan == "cmake"
|| progLan == "perl" || progLan == "ruby")
if (progLan == "sh" || progLan == "perl" || progLan == "ruby")
{
/* first, handle "__DATA__" in perl */
if (progLan == "perl")
Expand Down
2 changes: 1 addition & 1 deletion featherpad/main.cpp
Expand Up @@ -43,7 +43,7 @@ void handleQuitSignals (const std::vector<int>& quitSignals)
int main (int argc, char **argv)
{
const QString name = "FeatherPad";
const QString version = "0.17.1";
const QString version = "0.17.2";
const QString option = QString::fromUtf8 (argv[1]);
if (option == "--help" || option == "-h")
{
Expand Down

0 comments on commit 27a9ddd

Please sign in to comment.