// Temporarily disabled the GUI code. Reasons: // - Only page-ref button works currently, IMO we should use a LyX action // instead, to toggle the kind of refs. // - To change the label, IMO it's faster to delete the old one and insert // a new one. // - To goto to the label, IMO it's much faster to just click on the // inset. That's how I've implemented it now, I hope you'll like it. // - The more GUI code we can remove, the less work we'll have at // the toolkit switch. // (ale 970723)
// This function escapes 8-bit characters and other problematic characters // It's exactly the same code as in insetlabel.C.
LString InsetRef::escape(LString const & lab) const { char hexdigit[16] = { '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'A', 'B', 'C', 'D', 'E', 'F' };
LString enc; for (int i=0; i<lab.length(); i++) { unsignedchar c=lab[i]; if (c >= 128 || c=='=' || c=='%') {
enc += '=';
enc += hexdigit[c>>4];
enc += hexdigit[c & 15];
} else {
enc += (char) c;
}
} return enc;
}
¤ Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.0.14Bemerkung:
Wie Sie bei der Firma Beratungs- und Dienstleistungen beauftragen können
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung ist noch experimentell.