Change bug:
XT does not exist any more - use TM for trim. Other keycodes do work, but now require <enter> to be pressed to enter the command. This means I have to let go of the mouse to press enter, and keycodes loose it's power.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Keycode TM is now accepted without pressing <enter>, if keycode mode is selected in application preferences, in nightly build 2.0.7-954.
It does require a restart of LibreCAD, maybe you want to highlight it, or is it obvious?
My old trusted 'XT' is still MIA, but I've re-adjusted to 'TM' by now.
Thanks
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
As XT-Extend and TM-Trim does exactly the same, I would prefer to rather have Trim2 available with keycodes on, as TM2 becomes unavailable. Which code for which? I suppose the community total would have preferences. Mine would be TM - trim; T2 - Trim2. XT- seems more appropriate for extend, so if T2 is not possible, I recommend XT-Extend (which acts exactly like Trim), and TM-Trim 2 (as this is closer to an abreviation of the action).
I have just realised that the Extend action was removed, not only the keycode. Makes sense, as it was a duplicate of trim, but it kinds of shambles up my reasoning.
TM-Trim, and T2-Trim2 would be marvelous, thank you for offering ;-)
It is difficult to relate XT to Trim2 - unless you think of it as X-Trim, rather than Extend?
Jip, I could totally live with XT as keycode for Trim2, and I would love it if we could call Trim2 rather X-Trim. Then we can underline the X, because the underline T of both Trim and Trim2 does not function currently!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
That does sound useful.
I'm still considering the issue of integrating commands into the new action / tool system. https://github.com/LibreCAD/LibreCAD/issues/583
which would affect that... possibly making it easier to implement.
Lot's of grunt work... ;-]
Another approach would be to have a syntax in the command line that sets the alias
trim->xt
And a command that shows the alias list in the command line output.
Last edit: ravas 2016-02-17
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Ravas, thanks for all the trouble.
I am now sorry that I did not vote for "set the alias trim->xt"
I thought all the modify commands have keycodes, but now find that I use Devide a lot, and it doesn't seem to have a keycode.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Change bug:
XT does not exist any more - use TM for trim. Other keycodes do work, but now require <enter> to be pressed to enter the command. This means I have to let go of the mouse to press enter, and keycodes loose it's power.
If you can build from source, I just added a "Keycode mode" option in application preferences -> defaults. If you are on Windows you can wait for tomorrow's nightly build.
https://sourceforge.net/projects/librecad/files/Windows/NightlyBuilds/master/
Keycode TM is now accepted without pressing <enter>, if keycode mode is selected in application preferences, in nightly build 2.0.7-954.
It does require a restart of LibreCAD, maybe you want to highlight it, or is it obvious?
My old trusted 'XT' is still MIA, but I've re-adjusted to 'TM' by now.
Thanks
I'm probably going to move the option;
I added it there temporarily because I know you have been waiting.
I could add XT back; or would it be more useful as a keycode for trim2?
As XT-Extend and TM-Trim does exactly the same, I would prefer to rather have Trim2 available with keycodes on, as TM2 becomes unavailable. Which code for which? I suppose the community total would have preferences. Mine would be TM - trim; T2 - Trim2. XT- seems more appropriate for extend, so if T2 is not possible, I recommend XT-Extend (which acts exactly like Trim), and TM-Trim 2 (as this is closer to an abreviation of the action).
I have just realised that the Extend action was removed, not only the keycode. Makes sense, as it was a duplicate of trim, but it kinds of shambles up my reasoning.
TM-Trim, and T2-Trim2 would be marvelous, thank you for offering ;-)
It is difficult to relate XT to Trim2 - unless you think of it as X-Trim, rather than Extend?
Jip, I could totally live with XT as keycode for Trim2, and I would love it if we could call Trim2 rather X-Trim. Then we can underline the X, because the underline T of both Trim and Trim2 does not function currently!
Your last point is supported here:
https://github.com/LibreCAD/LibreCAD/issues/657
Im not opposed to calling it X-Trim. I see QCad now calls it "Trim Both".
I added the t2 keycode.
I also added mp for modify->properties.
Check the next nightly build.
ravas,
it might be a good idea to add command alias to Preferences
we can remove the "Command alias" settings by integrating command aliases into settings.
黎東旭,
That does sound useful.
I'm still considering the issue of integrating commands into the new action / tool system.
https://github.com/LibreCAD/LibreCAD/issues/583
which would affect that... possibly making it easier to implement.
Lot's of grunt work... ;-]
My one concern about the alias system is how it affects / is affected by command translations.
http://forum.librecad.org/command-translations-td5712978.html
Last edit: ravas 2016-02-17
Another approach would be to have a syntax in the command line that sets the alias
trim->xt
And a command that shows the alias list in the command line output.
Last edit: ravas 2016-02-17
I've made it so the command line is focused after a keycode is registered,
so that you can input coordinates and other things...
Is there any reason this would not be desired?
TM, T2 and MP :) works fine.
I find no adverse effect from the command line focus thus far.
Ravas, thanks for all the trouble.
I am now sorry that I did not vote for "set the alias trim->xt"
I thought all the modify commands have keycodes, but now find that I use Devide a lot, and it doesn't seem to have a keycode.
That feature can still be added. Someone just has to be inspired to implement it.
Adding keycodes is easy. Feel free to suggest any. "di" isn't in use.
I suggest "de"- DividE, although it's not as obvious as "di", it is closer together. If you think the more obvious is better, I could work with "di".
I added 'di'.
'de' might be used for delete.
In 2-2-0-A-109 keycode mode option under Application Preferences is not available anymore.
(Why can I not create a ticket?)
OK - I found the button in the command window - Nice!
You can use https://github.com/LibreCAD/LibreCAD/issues for bug reports or feature requests.
You can use http://forum.librecad.org/ for questions or comments.