From a049009ba97e9d2cc7cb48ecc27762ca58df8ba3 Mon Sep 17 00:00:00 2001 From: Don Ho Date: Mon, 27 Mar 2023 03:21:41 +0200 Subject: [PATCH] Add a philosophy quote --- PowerEditor/installer/filesForTesting/overrideMap.xml | 7 ++++--- PowerEditor/installer/functionList/overrideMap.xml | 9 +++++---- PowerEditor/src/Notepad_plus.cpp | 1 + 3 files changed, 10 insertions(+), 7 deletions(-) diff --git a/PowerEditor/installer/filesForTesting/overrideMap.xml b/PowerEditor/installer/filesForTesting/overrideMap.xml index e1b0170ce..2d999cc2f 100644 --- a/PowerEditor/installer/filesForTesting/overrideMap.xml +++ b/PowerEditor/installer/filesForTesting/overrideMap.xml @@ -95,9 +95,10 @@ - - - + + + + If you create your own parse rule of supported languages (above) for your specific need, you can copy it without modifying the original one, and make it point to your rule. diff --git a/PowerEditor/installer/functionList/overrideMap.xml b/PowerEditor/installer/functionList/overrideMap.xml index 8e201fd2e..8ee309e70 100644 --- a/PowerEditor/installer/functionList/overrideMap.xml +++ b/PowerEditor/installer/functionList/overrideMap.xml @@ -94,10 +94,11 @@ - - - - + + + + + If you create your own parse rule of supported languages (above) for your specific need, you can copy it without modifying the original one, and make it point to your rule. diff --git a/PowerEditor/src/Notepad_plus.cpp b/PowerEditor/src/Notepad_plus.cpp index 77487b5ba..05b9bb49b 100644 --- a/PowerEditor/src/Notepad_plus.cpp +++ b/PowerEditor/src/Notepad_plus.cpp @@ -7573,6 +7573,7 @@ static const QuoteParams quotes[] = {TEXT("Anonymous #202"), QuoteParams::slow , false, SC_CP_UTF8, L_TEXT, TEXT("The plural of regex is regrets.\n\n") }, {TEXT("Anonymous #203"), QuoteParams::rapid , false, SC_CP_UTF8, L_TEXT, TEXT("My gynecologist follows me on Instagram, I really do not know what else he want to see.\n\n") }, {TEXT("Anonymous #204"), QuoteParams::slow , false, SC_CP_UTF8, L_TEXT, TEXT("The greatest security vulnerability in any computer system is located between the keyboard and the chair.\n\n") }, + {TEXT("Anonymous #205"), QuoteParams::slow , false, SC_CP_UTF8, L_TEXT, TEXT("Courage is knowing it might hurt, and doing it anyway.\nStupidity is the same.\nAnd that's why life is hard.\n\n") }, {TEXT("xkcd"), QuoteParams::rapid, false, SC_CP_UTF8, L_TEXT, TEXT("Never have I felt so close to another soul\nAnd yet so helplessly alone\nAs when I Google an error\nAnd there's one result\nA thread by someone with the same problem\nAnd no answer\nLast posted to in 2003\n\n\"Who were you, DenverCoder9?\"\n\"What did you see?!\"\n\n(ref: https://xkcd.com/979/)") }, {TEXT("A developer"), QuoteParams::slow, false, SC_CP_UTF8, L_TEXT, TEXT("No hugs & kisses.\nOnly bugs & fixes.") }, {TEXT("Elon Musk"), QuoteParams::rapid, false, SC_CP_UTF8, L_TEXT, TEXT("Don't set your password as your child's name.\nName your child after your password.") },