Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
cs24-19fa
git_rec_nano
Commits
4c987bc3
Commit
4c987bc3
authored
7 years ago
by
Benno Schulenberg
Browse files
Options
Download
Email Patches
Plain Diff
tweaks: adjust a couple of comments
parent
e75c933c
master
feature/match-parens
refactor/readbility
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/move.c
+5
-8
src/move.c
with
5 additions
and
8 deletions
+5
-8
src/move.c
View file @
4c987bc3
...
...
@@ -96,7 +96,7 @@ void do_page_up(void)
openfile
->
current_x
=
actual_x
(
openfile
->
current
->
data
,
openfile
->
placewewant
);
/*
Scroll the edit window up a pag
e. */
/*
Move the viewport so that the cursor stays immobile, if possibl
e. */
adjust_viewport
(
STATIONARY
);
refresh_needed
=
TRUE
;
}
...
...
@@ -128,7 +128,7 @@ void do_page_down(void)
openfile
->
current_x
=
actual_x
(
openfile
->
current
->
data
,
openfile
->
placewewant
);
/*
Scroll the edit window down a pag
e. */
/*
Move the viewport so that the cursor stays immobile, if possibl
e. */
adjust_viewport
(
STATIONARY
);
refresh_needed
=
TRUE
;
}
...
...
@@ -153,8 +153,7 @@ void do_para_begin(bool allow_update)
edit_redraw
(
was_current
);
}
/* Move up to the beginning of the last beginning-of-paragraph line
* before the current line, and update the screen afterwards. */
/* Move up to first start of a paragraph before the current line. */
void
do_para_begin_void
(
void
)
{
do_para_begin
(
TRUE
);
...
...
@@ -190,9 +189,7 @@ void do_para_end(bool allow_update)
edit_redraw
(
was_current
);
}
/* Move down to the beginning of the last line of the current paragraph.
* Then move down one line farther if there is such a line, or to the
* end of the current line if not, and update the screen afterwards. */
/* Move down to just after the first end of a paragraph. */
void
do_para_end_void
(
void
)
{
do_para_end
(
TRUE
);
...
...
@@ -348,7 +345,7 @@ void do_next_word_void(void)
/* Move to the beginning of the current line (or softwrapped chunk).
* If be_clever is TRUE, do a smart home when wanted and possible,
* and do a dynamic home when in softwrap mode and it'spossible.
* and do a dynamic home when in softwrap mode and it's
possible.
* If be_clever is FALSE, just do a simple home. */
void
do_home
(
bool
be_clever
)
{
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help