1
1
mirror of https://github.com/github/semantic.git synced 2024-12-24 23:42:31 +03:00
Commit Graph

5522 Commits

Author SHA1 Message Date
Rob Rix
acad320b73 Remove isEmptyLine. 2016-03-07 19:46:18 -05:00
Rob Rix
6bf8d10efd Remove isClosedBy. 2016-03-07 19:45:57 -05:00
Rob Rix
b100eb9674 Use isClosedRowBy as a predicate in the tests. 2016-03-07 19:45:39 -05:00
Rob Rix
a70ae8a4de Add isClosedRowBy. 2016-03-07 19:45:30 -05:00
Rob Rix
a8286d66b1 Fix the isOpenRowBy use. 2016-03-07 19:45:25 -05:00
Rob Rix
36ef7c44a9 Remove a redundant import. 2016-03-07 19:45:17 -05:00
Rob Rix
1e31552397 Remove the tests of openLineBy. 2016-03-07 19:43:14 -05:00
Rob Rix
bf725daa90 Remove isOpenBy. 2016-03-07 19:43:01 -05:00
Rob Rix
a8cdb23694 Use isOpenRowBy. 2016-03-07 19:42:56 -05:00
Rob Rix
f98d9c00d4 Reorder the cases a little. 2016-03-07 19:41:37 -05:00
Rob Rix
19316c600c Move the $ onto the previous line. 2016-03-07 19:40:05 -05:00
Rob Rix
40ad5700cc Rename adjoinLinesByR to adjoinLinesBy. 2016-03-07 19:36:37 -05:00
Rob Rix
f7b4ecc1c1 Rename adjoinRowsByR to adjoinRowsBy. 2016-03-07 19:36:16 -05:00
Rob Rix
b1a6e4e232 Document adjoinLinesByR. 2016-03-07 19:35:52 -05:00
Rob Rix
9cb8c755ab Remove adjoinLinesBy. 2016-03-07 19:35:47 -05:00
Rob Rix
d14b04290b Remove adjoinRowsBy. 2016-03-07 19:34:34 -05:00
Rob Rix
e81941f53d Migrate the tests to adjoinRowsByR. 2016-03-07 19:33:32 -05:00
joshvera
c5fc04904e Store modes as Word32 2016-03-07 19:20:28 -05:00
Rob Rix
97e07216ad Rewrite adjoinRowsByR without zipping/unzipping. 2016-03-07 19:11:21 -05:00
Rob Rix
d30dd83c27 Add a predicate to determine if a Row is open. 2016-03-07 19:10:50 -05:00
Rob Rix
ef2556aa46 Remove a redundant import. 2016-03-07 19:10:39 -05:00
Rob Rix
cf2d99261f Move the default case down. 2016-03-07 19:10:32 -05:00
Rob Rix
a7c9f66896 Push new empty lines through open lines. 2016-03-07 18:57:00 -05:00
joshvera
a4954642be Preserve git modes 2016-03-07 18:50:32 -05:00
joshvera
f771feca7d ++gitlib 2016-03-07 18:08:19 -05:00
Rob Rix
e7f5700499 Remove the redundant empty case. 2016-03-07 17:45:35 -05:00
Rob Rix
213a821c65 Clarify the docs for adjoinRowsByR. 2016-03-07 17:44:50 -05:00
Rob Rix
e4d5f1f4bc Move some parens around. 2016-03-07 17:44:20 -05:00
Rob Rix
bf3dbfe32d Document adjoinRowsByR. 2016-03-07 17:40:51 -05:00
Rob Rix
8fc3384668 Simplify the both-open case. 2016-03-07 17:40:45 -05:00
Rob Rix
a2d0e49ec9 Use isOpenLineBy in rightwards row adjoining. 2016-03-07 17:33:53 -05:00
Rob Rix
3d4b832dd4 Use the isOpenLineBy predicate to adjoin lines rightrwards. 2016-03-07 17:31:57 -05:00
Rob Rix
0f604e8d56 🔥 a redundant binding. 2016-03-07 17:31:38 -05:00
Rob Rix
f23e4b7576 Add a convenience to test whether a line is open. 2016-03-07 17:30:50 -05:00
Rob Rix
8f08dab33b Correct row numbering. 2016-03-07 17:13:51 -05:00
Rob Rix
745d9dcea1 Some more hlint advice. 2016-03-07 16:45:38 -05:00
Rob Rix
6fdf98a309 Don’t reverse numbered lines. 2016-03-07 16:44:36 -05:00
Rob Rix
b47bc5bc16 Apply some of hlint’s advice. 2016-03-07 16:33:30 -05:00
Rob Rix
488ec69895 shouldBe gives better error messages. 2016-03-07 16:28:39 -05:00
Rob Rix
bd1a3886a8 Adjoin rows to the right. 2016-03-07 16:26:49 -05:00
Rob Rix
9ec66ca55a That’s not how this works any more. 2016-03-07 16:26:22 -05:00
Rob Rix
cfdbea2fa6 Test the new Row, not later ones. 2016-03-07 16:25:23 -05:00
Rob Rix
976b7cde20 Add a right-associative adjoinRowsBy variant. 2016-03-07 16:20:47 -05:00
Rob Rix
ceccf0acbe Test the current line, not the next one. 2016-03-07 16:12:02 -05:00
Rob Rix
30acf85299 Fold rightwards when adjoining. 2016-03-07 16:09:45 -05:00
Rob Rix
c5708e2843 Add a right-associative adjoinLinesBy variant. 2016-03-07 16:09:22 -05:00
Rob Rix
dd2b6b5532 Fold rightwards through diffs. 2016-03-07 16:05:40 -05:00
Rob Rix
2901586210 Correct some spacing. 2016-03-07 15:54:46 -05:00
Rob Rix
9c926017c5 Fold rightwards through terms. 2016-03-07 15:52:12 -05:00
Rob Rix
4b3bdb184e Adjoin in line. 2016-03-07 15:43:48 -05:00