Merge "Fix HTML highlighting"
This commit is contained in:
commit
924a13cf42
@ -33,8 +33,9 @@ public class TextUtilities {
|
||||
// Highlight color is yellow, as in other apps.
|
||||
// TODO Push for this to be a global (style-related?) constant
|
||||
private static final int HIGHLIGHT_COLOR_INT = Color.YELLOW;
|
||||
// We AND off the "alpha" from the color (i.e. 0xFFFFFF00 -> 0x00FFFF00)
|
||||
/*package*/ static final String HIGHLIGHT_COLOR_STRING =
|
||||
'#' + Integer.toHexString(HIGHLIGHT_COLOR_INT);
|
||||
'#' + Integer.toHexString(HIGHLIGHT_COLOR_INT & 0x00FFFFFF);
|
||||
|
||||
// This is how many chars we'll allow in a snippet
|
||||
private static final int MAX_SNIPPET_LENGTH = 200;
|
||||
|
Loading…
Reference in New Issue
Block a user