Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/editor/EditorWindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1334,7 +1334,7 @@ EditorWindow::_SyncWithPreferences()
fEditor->SendMessage(SCI_SETCARETLINEVISIBLEALWAYS, true, 0);
fEditor->SendMessage(SCI_SETCARETLINEFRAME, fPreferences->fLineHighlightingMode ? 2 : 0);
fEditor->SendMessage(SCI_SETCARETSTYLE,
fPreferences->fUseBlockCursor ? (CARETSTYLE_BLOCK | CARETSTYLE_BLOCK_AFTER) : CARETSTYLE_LINE, 0);
fPreferences->fUseBlockCursor ? (CARETSTYLE_BLOCK | CARETSTYLE_BLOCK_AFTER) : CARETSTYLE_LINE);

if(fFilePreferences.fEOLMode) {
fEditor->SendMessage(SCI_SETEOLMODE, fFilePreferences.fEOLMode.value_or(SC_EOL_LF), 0);
Expand Down
14 changes: 7 additions & 7 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@
void
_PrintUsage(std::ostream& outStream)
{
outStream
<< "Usage: Koder [options] file...\n"
<< "Options:\n"
<< " -h, --help\t\tPrints this message.\n"
<< " -w, --wait\t\tWait for the window to quit before returning.\n"
<< "\t\t\tOpening in window stacks is not supported in this mode.\n"
<< "\t\t\tCurrently accepts only one filename.\n";
outStream <<
"Usage: Koder [options] file...\n"
"Options:\n"
" -h, --help\t\tPrints this message.\n"
" -w, --wait\t\tWait for the window to quit before returning.\n"
"\t\t\tOpening in window stacks is not supported in this mode.\n"
"\t\t\tCurrently accepts only one filename.\n";
}


Expand Down