Skip to content

Commit

Permalink
1.6.6c
Browse files Browse the repository at this point in the history
- #6 - click to select a word -> allow turning this off
  • Loading branch information
jtorjo committed Jan 6, 2016
1 parent af5411d commit 1ebee90
Show file tree
Hide file tree
Showing 6 changed files with 235 additions and 188 deletions.
5 changes: 5 additions & 0 deletions src/docs/history.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@
quora



1.6.6c
- #6 - click to select a word -> allow turning this off


1.6.6b
- #5: add a horizonal scrollbar (make Msg not "occupy remaining space") -> allow a checkbox

Expand Down
1 change: 0 additions & 1 deletion src/docs/todo.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@



#6 - click to select a word -> allow turning this off

#7 -- bug - if i'm on the last char, and want to select starting from there to the left, it does not work

Expand Down
3 changes: 3 additions & 0 deletions src/lw_common/settings/app.cs
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,8 @@ public enum edit_mode_type {
public bool edit_search_before = true;
// if true, when searching something, search all columns (current column first!)
public bool edit_search_all_columns = false;
// if true, clicking a word selects it
public bool edit_click_word_selects_it = true;

public bool show_filter_row_in_filter_color = true;

Expand Down Expand Up @@ -405,6 +407,7 @@ private void load_save(bool load) {

load_save(load, ref has_shown_details_pane, "has_shown_details_pane", false);
load_save(load, ref show_horizontal_scrollbar, "show_horizontal_scrollbar", false);
load_save(load, ref edit_click_word_selects_it, "edit_click_word_selects_it", true);
}

private string initials(string name) {
Expand Down
3 changes: 2 additions & 1 deletion src/lw_common/ui/log_view/smart_readonly_textbox.cs
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,8 @@ public void on_mouse_click(Point mouse_screen) {

mouse_down_start_ = char_at_mouse(mouse_screen);
go_to_char( mouse_down_start_);
after_click(row_idx);
if ( app.inst.edit_click_word_selects_it)
after_click(row_idx);

Focus();
}
Expand Down
Loading

0 comments on commit 1ebee90

Please sign in to comment.