@@ -64,7 +64,6 @@ static void deleteFoldMarkers(fold_T *fp, int recursive, linenr_T lnum_off);
6464static void foldDelMarker (linenr_T lnum , char_u * marker , int markerlen );
6565static void foldUpdateIEMS (win_T * wp , linenr_T top , linenr_T bot );
6666static void parseMarker (win_T * wp );
67- static void foldMoveRange_int (garray_T * gap , linenr_T line1 , linenr_T line2 , linenr_T dest );
6867
6968static char * e_nofold = N_ ("E490: No fold found" );
7069
@@ -1076,12 +1075,6 @@ foldAdjustCursor(void)
10761075 (void )hasFolding (curwin -> w_cursor .lnum , & curwin -> w_cursor .lnum , NULL );
10771076}
10781077
1079- /* foldMoveRange() {{{2 */
1080- void
1081- foldMoveRange (garray_T * gap , linenr_T line1 , linenr_T line2 , linenr_T dest )
1082- {
1083- foldMoveRange_int (gap , line1 , line2 , dest );
1084- }
10851078/* Internal functions for "fold_T" {{{1 */
10861079/* cloneFoldGrowArray() {{{2 */
10871080/*
@@ -2992,7 +2985,7 @@ foldReverseOrder(garray_T *gap, linenr_T start, linenr_T end)
29922985 }
29932986}
29942987
2995- /* foldMoveRange_int () {{{2 */
2988+ /* foldMoveRange () {{{2 */
29962989/*
29972990 * Move folds within the inclusive range "line1" to "line2" to after "dest"
29982991 * requires "line1" <= "line2" <= "dest"
@@ -3036,8 +3029,8 @@ truncate_fold(fold_T *fp, linenr_T end)
30363029#define valid_fold (fp , gap ) ((fp) < ((fold_T *)(gap)->ga_data + (gap)->ga_len))
30373030#define fold_index (fp , gap ) ((size_t)(fp - ((fold_T *)(gap)->ga_data)))
30383031
3039- static void
3040- foldMoveRange_int (garray_T * gap , linenr_T line1 , linenr_T line2 , linenr_T dest )
3032+ void
3033+ foldMoveRange (garray_T * gap , linenr_T line1 , linenr_T line2 , linenr_T dest )
30413034{
30423035 fold_T * fp ;
30433036 linenr_T range_len = line2 - line1 + 1 ;
@@ -3108,7 +3101,7 @@ foldMoveRange_int(garray_T *gap, linenr_T line1, linenr_T line2, linenr_T dest)
31083101 }
31093102
31103103 /* Case 5 or 6
3111- * changes rely on whether there are folds between the end of
3104+ * changes rely on whether there are folds between the end of
31123105 * this fold and "dest".
31133106 */
31143107 move_start = fold_index (fp , gap );
0 commit comments