To edit the code of a function, just click on it on the Function you want to edit in the Project brouser.
Then, the code of the function will apear in the function editor (If you are in the Source page of the tab sheet).
This code editor is not a simple editor, it's a litle more!
This is one of the best features of the editor.
This feature apear to the user via this type of window:
This window shows you the list of the functions and constantes (There is no constantes here, caus there is no constantes in this project) and there description (in fact, that's the main utility of the short description).
The functions and constantes shows in this windows is dependant of the Funcition mode.
When the current function is a RPL function, only the RPL function are displayed here.
When the current function is a Non-Rpl function (Assembly), only the Non-Tpl functions are displayed.
Because constantes can be use either in RPL or assembly (In fact, is more: Because RPL and Non Rpl constantes can be used in assembly), you can specify for each constante if it's visible in Assembly and Rpl mode. Therefore, you just have to check the ASM and RPL check boxes when editing the constantes (See Editing constantes).
To display this window, press simultanely Ctrl key and Space.
When this window is displayed, you can select your function or constante by pressing Up and Down, or by continuing to type characters.
When the right name is selected, pressing ENTER will type the full name in the code window. Pressin Echap will close this window.
On the right of the source window, there is a tree view (Bookmark tree) where you can see four items:
Try do type a litle thing in the editor. then Press Simultanely Ctrl-Shift-1.
Your screen must now be like that;
now, you can move your cursor everywhere, by pressing Ctrl-1, or double-click on the "Save 1" item of the tree view, you will be place on the saved position.
To delete a bookmark, just place yourself on the bookmarqued position and press Ctrl-Shift-X where is is the saved number.
You can put other type of bookmark that just a save position. try to right click on the tree view and use the Add Note, Add Bug and Add question items.
you might now have this type of screen:
Again, by double clicking on an item, you can go to the save position.
You can change the name of the BookMark. then, it's realy useful.
Bookmarks are saved to disk.
You can not have two bookmarks of the same type with the same name. So, when creating a New BookMark, change his name as quikly as possible to avoid loosing your saved positions.
This code editor does not use tbulation. Then, I use the Tab key for an other purpose!
When typing your code, if you want to reuse a word you already type, instead of using copy/past, you can use this feature.
Let me explain how it works on an example.
*label1
doing something
lCursor Here
*label2
Then, by pressing TAB, the begining of your word "l" will be completed by "able2" because the next world beginning by "l" is "lable2". If you had an other word begining by "l" after "label2", by pressing TAB again, this worls will be displayed.
You can go back in completion (Even before the current cursor pos) by pressing Shift-Tab.