Age | Commit message (Collapse) | Author |
|
|
|
Wrap text and moving cursor with a selection still crashed.
Thanks Zanqdo! :)
(Also cleaned code layout to use same convention as it was)
|
|
Texteditor misses NULL checks in 'wrap text' code, moving cursur while
text is selected.
|
|
* mistake from own changes to curves, new curves were being added with too low resolution.
* removed warnings I added recently
|
|
* subsurf code had a lot of unused variables, removed these where they are obviously not needed. commented if they could be useful later.
* some variables declorations hide existing variables (many of these left), but fixed some that could cause confusion.
* removed unused vars
* obscure python memory leak with colorband.
* make_sample_tables had a loop running wasnt used.
* if 0'd functions in arithb.c that are not used yet.
* made many functions static
|
|
* out of sync text dosnt automatically popup a menu anymore since it was too easy to click on it without intending to, moved this to an alert button on the header.
* "_" character was acting as a delimiter, but in python its not.
* renamed "File" to "Text" (so as not to confuse with blenders file menu)
* added redraw_alltext function to remove many duplicate loops where every text display is redrawn.
|
|
from Dalai Felinto (dfelinto)
|
|
|
|
from disk
Missing free compiled.
|
|
Kent
|
|
|
|
|
|
of using flags). The lower two bytes of the group are used for python scripts while the upper two (or more) are reserved for internal grouping. Plenty either way.
|
|
|
|
fixed the scrollbar. The scrollbar and panel now play nice.
|
|
|
|
marker and deleting selections that intersect markers did not remove the marker in all cases.
|
|
then other markers follow.
|
|
a blockhandler panel. The panel is shown when find is invoked with Alt F (or from the menu). Successive presses of Alt F search again, while the panel is visible. Alt H does the same for replace. (Ctrl F and Ctrl H also work - more like other editors)
|
|
|
|
some other pops for when the cursor went off screen (click after horizontal scroll, undo, redo, etc.)
|
|
It was confusing using the syntax button for both.
|
|
and scripts not being recompiled in some cases. Needs more thought before committing.
|
|
Selections no longer move away from the cursor.
|
|
called from the menu.
|
|
|
|
user friendly.
|
|
the text area. Errors in other files/scripts still pop up a message as before and all errors are still printed to the console. This removes the need to switch to the console for local errors.
|
|
when to remove).
|
|
|
|
wishlist)
|
|
for a wrapped line segment.
|
|
avoid getting in the way. If there is a marker under the cursor, ESC will remove it and others in its group. Otherwise all temporary markers are removed. Tab finds/cycles/removes temp. markers, cycles non-temp. markers (under cursor) and behaves normally in all other cases.
|
|
functions for modifying text selections in general. Tweaked some of the events and drawing code and added a template completion script along the lines of gedit's snippets.
|
|
string and allows them to be edited from one instance. Improvements have also been made to the UI allowing better control over which occurrences to replace.
|
|
relationships. They allow portions of text to be edited as one and enable quick jumping between and editing of different areas.
Flags control the behaviour and grouping of markers. At present, Ctrl+M places a marker with TMARK_EDITALL set for testing purposes.
I have also split the text area event handler into separate methods for marker handling and the existing text tools. This makes the events system much easier to follow as it was getting a little hairy.
|
|
It's not the best solution but it does the job for now. I wanted to get a working version committed before I improve/break it.
|
|
non-syntax-highlighted text.
|
|
(which all use the same function) weren't lining up with the drawn text (which uses its own function). This fix simplifies the algorithm and hopefully now makes it work for all cases.
|
|
brackets should now draw correctly when scrolled.
|
|
|
|
|
|
for wrapped lines containing tabs, or lines with no breaks.
|
|
cursor swapping from the user.
|
|
- Takes less than half the time to format a full document
- Where possible only the required lines are re-parsed when text is changed (was the whole file, for every key press!)
- Memory is allocated in one place only (there were all sorts of problems here)
- Should be easily extensible for other scripting languages
- Lots of comments to make it very easy to follow / change
- def and class are now properly coloured. They had a theme colour but the checks didn't work.
|
|
|
|
text and cursor. Simple typing/deleting works fine. Other events (selections, clicking) behave as if text has not been wrapped and need work.
|
|
they only update when it is set). We don't want things popping up when we're just writing text.
|
|
|
|
consistency.
|