Numworks Epsilon
1.4.1
Graphing Calculator Operating System
toolbox_helpers.h
Go to the documentation of this file.
1
#ifndef SHARED_TOOLBOX_HELPERS_H
2
#define SHARED_TOOLBOX_HELPERS_H
3
4
#include <
escher/i18n.h
>
5
6
namespace
Shared
{
7
namespace
ToolboxHelpers {
8
9
int
CursorIndexInCommand
(
const
char
* text);
10
/* Returns the index of the cursor position in a Command, which is the smallest
11
* index between :
12
* - After the first open parenthesis
13
* - The end of the text */
14
15
16
void
TextToInsertForCommandMessage
(I18n::Message message,
char
* buffer);
17
void
TextToInsertForCommandText
(
const
char
* command,
char
* buffer);
18
/* Removes the arguments from a command:
19
* - Removes text between parentheses, except commas */
20
21
}
22
}
23
24
#endif
Shared
Definition:
banner_view.cpp:5
Shared::ToolboxHelpers::TextToInsertForCommandText
void TextToInsertForCommandText(const char *command, char *buffer)
Definition:
toolbox_helpers.cpp:21
Shared::ToolboxHelpers::CursorIndexInCommand
int CursorIndexInCommand(const char *text)
Definition:
toolbox_helpers.cpp:7
Shared::ToolboxHelpers::TextToInsertForCommandMessage
void TextToInsertForCommandMessage(I18n::Message message, char *buffer)
Definition:
toolbox_helpers.cpp:16
i18n.h
epsilon
apps
shared
toolbox_helpers.h
Generated by
1.8.14