Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 0 additions & 10 deletions devel/213_22.md

This file was deleted.

6 changes: 2 additions & 4 deletions src/Edit/Interface/edit_interface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -630,10 +630,8 @@ edit_interface_rep::compute_env_rects (path p, rectangles& rs, bool recurse) {
else selection_correct (p1, p2, q1, q2);
selection sel= eb->find_check_selection (q1, q2);
if (N (focus_get ()) >= N (p))
if (!recurse || get_preference ("show full context") == "on") {
if (recurse) rs << outlines (sel->rs, pixel);
else rs << thicken (sel->rs, 0, 2 * pixel);
}
if (!recurse || get_preference ("show full context") == "on")
rs << outlines (sel->rs, pixel);
}
set_access_mode (old_mode);
if (recurse || N (rs) == 0) compute_env_rects (path_up (p), rs, recurse);
Expand Down
4 changes: 0 additions & 4 deletions src/Edit/Interface/edit_repaint.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -67,11 +67,7 @@ edit_interface_rep::draw_env (renderer ren) {
if (!is_nil (foc_rects)) {
color col= get_env_color (FOCUS_COLOR);
ren->set_pencil (pencil (col, ren->pixel));
#ifdef QTTEXMACS
ren->draw_selection (foc_rects);
#else
ren->draw_rectangles (foc_rects);
#endif
}
if (!is_nil (sem_rects)) {
if (sem_correct) {
Expand Down
2 changes: 1 addition & 1 deletion src/Typeset/Env/env_default.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ initialize_default_env () {

env (CURSOR_COLOR) = "#000000"; // cursor color in user interface
env (MATH_CURSOR_COLOR) = "#b0f"; // cursor color in math mode
env (FOCUS_COLOR) = "#00ffff1a"; // color of focus background
env (FOCUS_COLOR) = "#0ff"; // color of focus rectangles
env (CONTEXT_COLOR) = "#00555518"; // color of context rectangles
env (SELECTION_COLOR) = "#2d69f033"; // color of selections
env (TABLE_SELECTION_COLOR)= "#50f3"; // color of selections of table cells
Expand Down
Loading