Skip to content

Commit

Permalink
fix demos
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexey-T committed Nov 6, 2020
1 parent 19340ee commit 9dd5210
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions app/demo_editor/formmain.pas
Original file line number Diff line number Diff line change
Expand Up @@ -641,9 +641,9 @@ procedure TfmMain.DoOpen(const fn: string; ADetectEnc: boolean);
end;

//test Bookmarks2
ed.BookmarkSetForLine_2(4, cBookmarkBgKind, '', false, false, 0);
ed.BookmarkSetForLine_2(5, cBookmarkBgKind, '', false, false, 0);
ed.BookmarkSetForLine_2(6, cBookmarkBgKind, '', false, false, 0);
ed.BookmarkSetForLine_2(4, cBookmarkBgKind, '', bmadDontDelete, false, 0);
ed.BookmarkSetForLine_2(5, cBookmarkBgKind, '', bmadDontDelete, false, 0);
ed.BookmarkSetForLine_2(6, cBookmarkBgKind, '', bmadDontDelete, false, 0);

Progress.Hide;
UpdateCaption;
Expand Down
4 changes: 2 additions & 2 deletions app/demo_editor/formopt.pas
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ procedure DoConfigEditor(ed: TATSynEdit);
chkMsClickNumSel.Checked:= ed.OptMouseClickNumberSelectsLine;
chkMsDragDrop.Checked:= ed.OptMouseDragDrop;
chkMsRtClickMove.Checked:= ed.OptMouseRightClickMovesCaret;
chkMsNiceScroll.Checked:= ed.OptMouseNiceScroll;
chkMsNiceScroll.Checked:= ed.OptMouseMiddleClickScrolling;
chkMsHideCursor.Checked:= ed.OptMouseHideCursorOnType;

//undo
Expand Down Expand Up @@ -457,7 +457,7 @@ procedure DoConfigEditor(ed: TATSynEdit);
ed.OptMouseClickNumberSelectsLine:= chkMsClickNumSel.Checked;
ed.OptMouseDragDrop:= chkMsDragDrop.Checked;
ed.OptMouseRightClickMovesCaret:= chkMsRtClickMove.Checked;
ed.OptMouseNiceScroll:= chkMsNiceScroll.Checked;
ed.OptMouseMiddleClickScrolling:= chkMsNiceScroll.Checked;
ed.OptMouseHideCursorOnType:= chkMsHideCursor.Checked;

//undo
Expand Down

0 comments on commit 9dd5210

Please sign in to comment.