History

Consistency

malc committed 5 years ago

Commit bfa56ed1 parent 6dea5dd3 files · +14 −14Browse files

Unified · Split

3 files
  1. genconfstruct.sh +5 −5
  2. link.c +4 −4
  3. main.ml +5 −5
genconfstruct.sh+5−5
@@ -18,10 +18,10 @@ and columns = · 17 unmodified lines
1818 | Cmulti of multicolumns
1919 | Csplit of splitcolumns
2020 and mark =
21− | Mark_page
22− | Mark_block
23− | Mark_line
24− | Mark_word
21+ | MarkPage
22+ | MarkBlock
23+ | MarkLine
24+ | MarkWord
2525 and multicolumns = (multicol * pagegeom)
2626 and singlecolumn = pagegeom
2727 and splitcolumns = (columncount * pagegeom)
@@ -117,7 +117,7 @@ f pgscale 1. · 89 unmodified lines
117117 b wheelbypage false
118118 s stcmd "{|echo SyncTex|}"
119119 b riani false
120−g paxmark mark Mark_word
120+g paxmark mark MarkWord
121121 b leftscroll false
122122 s title Utils.E.s
123123 f lastvisit 0.0
link.c+4−4
@@ -55,7 +55,7 @@ enum { FitWidth, FitProportional, FitPage }; · 54 unmodified lines
5555 enum { LDfirst, LDlast };
5656 enum { LDfirstvisible, LDleft, LDright, LDdown, LDup };
5757 enum { Uuri, Utext, Utextannot, Ufileannot, Unone };
58−enum { Mark_page, Mark_block, Mark_line, Mark_word };
58+enum { MarkPage, MarkBlock, MarkLine, MarkWord };
5959
6060 struct slice {
6161 int h;
@@ -2744,7 +2744,7 @@ ML (markunder (value ptr_v, value x_v, value y_v, value mark_v)) · 2682 unmodified lines
27442744
27452745 ensuretext (page);
27462746
2747− if (mark == Mark_page) {
2747+ if (mark == MarkPage) {
27482748 page->fmark = page->text->first_block->u.t.first_line->first_char;
27492749 page->lmark = page->text->last_block->u.t.last_line->last_char;
27502750 ret_v = Val_bool (1);
@@ -2762,7 +2762,7 @@ ML (markunder (value ptr_v, value x_v, value y_v, value mark_v)) · 11 unmodified lines
27622762 continue;
27632763 }
27642764
2765− if (mark == Mark_block) {
2765+ if (mark == MarkBlock) {
27662766 page->fmark = block->u.t.first_line->first_char;
27672767 page->lmark = block->u.t.last_line->last_char;
27682768 ret_v = Val_bool (1);
@@ -2776,7 +2776,7 @@ ML (markunder (value ptr_v, value x_v, value y_v, value mark_v)) · 7 unmodified lines
27762776 continue;
27772777 }
27782778
2779− if (mark == Mark_line) {
2779+ if (mark == MarkLine) {
27802780 page->fmark = line->first_char;
27812781 page->lmark = line->last_char;
27822782 ret_v = Val_bool (1);
main.ml+5−5
@@ -143,7 +143,7 @@ let paxunder x y = · 142 unmodified lines
143143 else None
144144 in
145145 Glutils.postRedisplay "paxunder";
146− if conf.paxmark = Mark_page
146+ if conf.paxmark = MarkPage
147147 then
148148 List.iter (fun l ->
149149 match getopaque l.pageno with
@@ -4018,10 +4018,10 @@ let viewmulticlick clicks x y mask = · 3868 unmodified lines
40184018 let g opaque l px py =
40194019 let mark =
40204020 match clicks with
4021− | 2 -> Mark_word
4022− | 3 -> Mark_line
4023− | 4 -> Mark_block
4024− | _ -> Mark_page
4021+ | 2 -> MarkWord
4022+ | 3 -> MarkLine
4023+ | 4 -> MarkBlock
4024+ | _ -> MarkPage
40254025 in
40264026 if Ffi.markunder opaque px py mark
40274027 then (

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t