I always saw the cursor jumping due to a syntax error as a bug, not a feature and has always been an annoyance that breaks my code flow. Honestly, i do not see what the point is, i am trying to complete the word, not find syntax errors (this is what Ctrl+F9 is for). I also think Ctrl+Space should display word completion in addition to parsed-based words - it could put an icon with a pair of question marks or whatever in front of the "guessed" words to indicate where they come from.
Going back through the jump history is just a bandaid to a problem that shouldn't exist in the first place. On Tue, Mar 19, 2019 at 5:00 AM Martin Frb via lazarus <[email protected]> wrote: > > On 19/03/2019 04:39, Dmitry Boyarintsev via lazarus wrote: > > On Mon, Mar 18, 2019 at 10:58 PM Martin Frb via lazarus > <[email protected]> wrote: >> >> History back should work after an codetools error. IIRC Ctrl-H, but I move >> it to Alt-Cursor-Left. > > > The first time I hear about that thing. What's "History point"? how is it > defined? > > View menu: jump history > > Everytime you jump to a declaration, method body, ... (and some others like > go to begin/end of file) a point is inserted. (except, if it is just 1 or 2 > lines from where you were). > > You can navigate back and forward on those points. > - mouse buttons 4 and 5 (like in webbrowesrs) > - ctrl-h (IIRC.., I recommand mapping it to alt cursor left/right) > - editor toolbar can provide buttons too > > > The usual way is, that you look up the definition of some identifier (I > mapped "jump to declaration" to alt cursor up), maybe follow it forward, > follow another declaration inside it...., and then jump back as far as you > need. > > -- > _______________________________________________ > lazarus mailing list > [email protected] > https://lists.lazarus-ide.org/listinfo/lazarus -- _______________________________________________ lazarus mailing list [email protected] https://lists.lazarus-ide.org/listinfo/lazarus
