mirror of
https://gitlab.com/eql/lqml.git
synced 2025-12-27 20:32:44 -08:00
revision
This commit is contained in:
parent
8257356efc
commit
ac9d2ebf07
2 changed files with 7 additions and 2 deletions
|
|
@ -130,8 +130,9 @@ http://192.168.1.x:1701/all.zip
|
||||||
iOS note (smart quotes)
|
iOS note (smart quotes)
|
||||||
-----------------------
|
-----------------------
|
||||||
|
|
||||||
Smart quotation marks can only be disabled globally for the whole app, putting
|
Smart punctuation (especially annoying with quotes in an app like this one) can
|
||||||
this in the iOS section of `app.pro`:
|
only be disabled globally for the whole app, by putting this in the iOS section
|
||||||
|
of `app.pro`:
|
||||||
```
|
```
|
||||||
DEFINES += DISABLE_SMART_QUOTES
|
DEFINES += DISABLE_SMART_QUOTES
|
||||||
```
|
```
|
||||||
|
|
|
||||||
|
|
@ -34,6 +34,10 @@ public:
|
||||||
bool changed = true;
|
bool changed = true;
|
||||||
const int code = s.at(0).unicode();
|
const int code = s.at(0).unicode();
|
||||||
switch (code) {
|
switch (code) {
|
||||||
|
// undo automatic double hyphen substitution
|
||||||
|
case 8212:
|
||||||
|
s = "--";
|
||||||
|
break;
|
||||||
// replace iOS smart quotation marks with standard ones
|
// replace iOS smart quotation marks with standard ones
|
||||||
// (English, French, German, ...)
|
// (English, French, German, ...)
|
||||||
case 8216:
|
case 8216:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue