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
void TextToInsertForCommandText(const char *command, char *buffer)
int CursorIndexInCommand(const char *text)
void TextToInsertForCommandMessage(I18n::Message message, char *buffer)