Fix "New file" proc ctrl+n hotkey

This commit is contained in:
Sergey Kalinin 2018-02-19 14:17:36 +03:00
parent d3add6984d
commit 309a88874c
5 changed files with 63 additions and 28 deletions

View File

@ -6,6 +6,9 @@
######################################################### #########################################################
0.4.5 0.4.5
19.02.2018
- Fix "New file" ctrl+n hotkey
18.02.2018 18.02.2018
- Fixed edit files into root node from file browser tree - Fixed edit files into root node from file browser tree
- Change "Delete project" dialog and procedure - Change "Delete project" dialog and procedure
@ -379,3 +382,4 @@ characters to the right of the insertion cursor.

View File

@ -1,4 +1,3 @@
GNU GENERAL PUBLIC LICENSE GNU GENERAL PUBLIC LICENSE
Version 2, June 1991 Version 2, June 1991
@ -338,4 +337,3 @@ proprietary programs. If your program is a subroutine library, you may
consider it more useful to permit linking proprietary applications with the consider it more useful to permit linking proprietary applications with the
library. If this is what you want to do, use the GNU Library General library. If this is what you want to do, use the GNU Library General
Public License instead of this License. Public License instead of this License.

View File

@ -222,10 +222,10 @@ bind . <F8> {MakeProj compile proj}
bind . <Control-F8> {MakeProj compile file} bind . <Control-F8> {MakeProj compile file}
bind . <F9> {MakeProj run proj} bind . <F9> {MakeProj run proj}
bind . <Control-F9> {MakeProj run file} bind . <Control-F9> {MakeProj run file}
bind . <Control-ograve> AddToProjDialog bind . <Control-ograve> {AddToProjDialog file}
bind . <Control-n> AddToProjDialog bind . <Control-n> {AddToProjDialog file}
bind . <Control-ocircumflex> AddToProjDialog #bind . <Control-ocircumflex> AddToProjDialog
bind . <Control-a> AddToProjDialog #bind . <Control-a> AddToProjDialog
bind . <Control-eacute> Quit bind . <Control-eacute> Quit
bind . <Control-q> Quit bind . <Control-q> Quit
bind . <Control-ccedilla> PrintDialog bind . <Control-ccedilla> PrintDialog
@ -397,3 +397,4 @@ if {[info exists workingProject]} {

View File

@ -92,3 +92,4 @@ proc GetMenu {m} {
} }

View File

@ -7,7 +7,7 @@ Group: Development/Tcl
Url: https://bitbucket.org/svk28/projman Url: https://bitbucket.org/svk28/projman
BuildArch: noarch BuildArch: noarch
Source: %name-%version-%release.tar.gz Source: %name-%version-%release.tar.gz
Requires: bwidget, tcl-img Requires: tcl, tk, bwidget, tcl-img
%description %description
This programm is Integrated Development Environment for Tcl/Tk language programming. Include - project manager, text and source editor with syntax highlightning, archive (tar.gz) and PRM builder and more. This programm is Integrated Development Environment for Tcl/Tk language programming. Include - project manager, text and source editor with syntax highlightning, archive (tar.gz) and PRM builder and more.
@ -25,22 +25,21 @@ mkdir -p $RPM_BUILD_ROOT{%_bindir,%_datadir/%name/img,%_datadir/%name/msgs,%_dat
install -p -m755 projman.tcl $RPM_BUILD_ROOT%_bindir/%name install -p -m755 projman.tcl $RPM_BUILD_ROOT%_bindir/%name
install -p -m644 *.tcl $RPM_BUILD_ROOT%_datadir/%name/ install -p -m644 *.tcl $RPM_BUILD_ROOT%_datadir/%name/
install -p -m644 highlight/*.tcl $RPM_BUILD_ROOT%_datadir/%name/highlight/ install -p -m644 lib/highlight/*.tcl $RPM_BUILD_ROOT%_datadir/%name/highlight/
install -p -m644 *.conf $RPM_BUILD_ROOT%_datadir/%name/ install -p -m644 *.conf $RPM_BUILD_ROOT%_datadir/%name/
install -p -m644 img/*.* $RPM_BUILD_ROOT%_datadir/%name/img/ install -p -m644 img/*.* $RPM_BUILD_ROOT%_datadir/%name/img/
install -p -m644 msgs/*.* $RPM_BUILD_ROOT%_datadir/%name/msgs/ install -p -m644 msgs/*.* $RPM_BUILD_ROOT%_datadir/%name/msgs/
# Menu support # Menu support
mkdir -p $RPM_BUILD_ROOT/usr/lib/menu #mkdir -p $RPM_BUILD_ROOT/usr/lib/menu
#cat > $RPM_BUILD_ROOT%_libdir/menu/%name << EOF
cat > $RPM_BUILD_ROOT/usr/lib/menu/%name << EOF #?package(%name): needs=x11 icon="projman.png" section="Applications/Development/Development environments" title=ProjMan longtitle="Tcl/Tk Project Manager" command=projman
?package(%name): needs=x11 icon="projman.png" section="Applications/Development/Development environments" title=ProjMan longtitle="Tcl/Tk Project Manager" command=projman #EOF
EOF
#mdk icons #mdk icons
install -d $RPM_BUILD_ROOT{%_iconsdir,%_liconsdir,%_miconsdir} #install -d $RPM_BUILD_ROOT{%_iconsdir,%_liconsdir,%_miconsdir}
install -p -m644 img/icons/%name.png $RPM_BUILD_ROOT%_iconsdir/ #install -p -m644 img/icons/%name.png $RPM_BUILD_ROOT%_iconsdir/
install -p -m644 img/icons/large/%name.png $RPM_BUILD_ROOT%_liconsdir/ #install -p -m644 img/icons/large/%name.png $RPM_BUILD_ROOT%_liconsdir/
install -p -m644 img/icons/mini/%name.png $RPM_BUILD_ROOT%_miconsdir/ #install -p -m644 img/icons/mini/%name.png $RPM_BUILD_ROOT%_miconsdir/
%post %post
%update_menus %update_menus
@ -53,13 +52,45 @@ install -p -m644 img/icons/mini/%name.png $RPM_BUILD_ROOT%_miconsdir/
%doc hlp/ru/* %doc hlp/ru/*
%_bindir/%name %_bindir/%name
%_datadir/%name %_datadir/%name
%_libdir/menu/%name #%_libdir/menu/%name
%_iconsdir/%name.png #%_iconsdir/%name.png
%_liconsdir/%name.png #%_liconsdir/%name.png
%_miconsdir/%name.png #%_miconsdir/%name.png
%changelog %changelog
* Fri Feb 16 2018 Sergey Kalinin <banzaj@altlinux.ru> 0.4.5
- Added saving main window geometry into projman.conf file when close programm
- Fixed AutoComplite precedure for TCL/TK-projects
- Added colored icon for main window
- Fixed "Close all" procedure if opened files from projects and file browser
- Fixed parsing some procedure name like ::proc::name or proc_na::me(aa) and parameters {{} {} {}}
- Added opening last active project when project run
- Fixed Windows OS running without installation
- Added gray theme
- Fixed work with file from directory (FileBrowser function).
- Auto indent added for () [] braces
- File Browser added. Now we will edited any file without project
- Tcl, Perl, PHP highlight comment procedure fixed
- Help file Text.html utf-8 encoding
- Change hotkeys "Control+," "Control+." "Control+/" (commect selected, uncoment selected, select all)
- Add new function Comments/Uncomment selected text
- Added binding mouse button: click on notebook tab highlight opened file name in tree
- Change "Paste from Clipboard" function
- Change popup editor menu (undo, redo, copy, paste, cut functions)
- Change Logo and About dialog
- Russian help files was conerting into utf-8 encode
- Change help file load procedure
- Fixed paste text highlight
- Fixed setting edited flag when paste the text from buffer
- Remove ctags support
- Added gitk (gui for git) support
- Changes color setting dialog into "Setting"
- Actualizing information into "About" dialog
- Corrected color settings for all widgets
- Change default color scheme
- Remove ctag, change autocomplitt procedure
* Wed Feb 13 2008 Sergey Kalinin <banzaj@altlinux.ru> 0.3.8-alt1 * Wed Feb 13 2008 Sergey Kalinin <banzaj@altlinux.ru> 0.3.8-alt1
- Added text encoding support from koi8-r,cpp1251,cp866 to UTF-8 - Added text encoding support from koi8-r,cpp1251,cp866 to UTF-8