Skip to content

Commit d6710fd

Browse files
committed
Add more docstrings to document the methods
1 parent a7279d8 commit d6710fd

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

src/MacVim/MMAppController.m

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1126,6 +1126,7 @@ - (void)refreshAllAppearances
11261126
}
11271127
}
11281128

1129+
/// Refresh all Vim text views' fonts.
11291130
- (void)refreshAllFonts
11301131
{
11311132
unsigned count = [vimControllers count];
@@ -1135,6 +1136,8 @@ - (void)refreshAllFonts
11351136
}
11361137
}
11371138

1139+
/// Refresh all resize constraints based on smooth resize configurations
1140+
/// and resize the windows to match the constraints.
11381141
- (void)refreshAllResizeConstraints
11391142
{
11401143
const unsigned count = [vimControllers count];
@@ -1144,6 +1147,8 @@ - (void)refreshAllResizeConstraints
11441147
}
11451148
}
11461149

1150+
/// Refresh all text views and re-render them, as well as updating their
1151+
/// cmdline alignment properties to make sure they are pinned properly.
11471152
- (void)refreshAllTextViews
11481153
{
11491154
unsigned count = [vimControllers count];

src/MacVim/MMCoreTextView.m

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -553,6 +553,7 @@ - (void)setThinStrokes:(BOOL)state
553553
thinStrokes = state;
554554
}
555555

556+
/// Update the cmdline row number from Vim's state and cmdline alignment user settings.
556557
- (void)updateCmdlineRow
557558
{
558559
[self setCmdlineRow: [[[self vimController] objectForVimStateKey:@"cmdline_row"] intValue]];

0 commit comments

Comments
 (0)