AkelPad Forum Index AkelPad
Support forum
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Scripts discussion (2)
Goto page Previous  1, 2, 3 ... 57, 58, 59 ... 94, 95, 96  Next
 
Post new topic   This topic is locked: you cannot edit posts or make replies.    AkelPad Forum Index -> Plugins
View previous topic :: View next topic  
Author Message
VladSh



Joined: 29 Nov 2006
Posts: 2703
Location: Киев, Русь

PostPosted: Tue Oct 30, 2012 9:25 pm    Post subject: Reply with quote

KDJ wrote:
#1
What to do if the file has been previously opened. Also close it?
Yes.
Opened display in a different color or somehow mark, such as * in the beginning of the filename, then this problem will not be.

KDJ wrote:
Probably better to select all the files and open them (Ctrl+A and Enter or click "Edit" button ), then close in AkelPad those unnecessary.
I don't understand this Embarassed
Back to top
View user's profile Send private message Visit poster's website
DV



Joined: 16 Nov 2006
Posts: 856
Location: Kyiv, Ukraine

PostPosted: Thu Nov 01, 2012 10:00 am    Post subject: Reply with quote

Всех, у кого есть установленная Visual Studio, просьба потестировать файл detect_vc.bat:
http://akelpad.sourceforge.net/forum/viewtopic.php?p=13010#13010
Назначение detect_vc.bat: определить установленные версии Visual Studio и вывести список рекомендуемых значений переменных окружения для компиляции из консоли.
Back to top
View user's profile Send private message
Infocatcher



Joined: 06 Aug 2007
Posts: 1648

PostPosted: Thu Nov 01, 2012 10:32 am    Post subject: Reply with quote

DV
Вывод
Code:
* VC8 /2005/ detected:
set VCDIR=C:\Program Files\Microsoft Visual Studio 8\VC
set VSCOMMON=%VCDIR%\..\Common7\IDE
set MSSDK=%VCDIR%\PlatformSDK
set PATH=%VCDIR%\bin;%MSSDK%\bin;%VSCOMMON%;%PATH%
set INCLUDE=%MSSDK%\include;%VCDIR%\include;%INCLUDE%
set LIB=%MSSDK%\lib;%VCDIR%\lib;%LIB%

Могу только подтвердить, что да, VC 2005, v.8.0. Smile
(А так я не пользуюсь.)
Back to top
View user's profile Send private message Visit poster's website
FeyFre



Joined: 07 Aug 2007
Posts: 2060
Location: Vinnitsa, Ukraine

PostPosted: Thu Nov 01, 2012 10:48 am    Post subject: Reply with quote

DV, не определяет MSVC 7.0 (2002). Стандартный ключевой путь %PathToProgramFilesx86%\Microsoft Visual Studio .NET\Vc7

Определило MSVC 9.0, хотя это была часть Windows SDK.

Не совсем понятно что за переменная используется %MSSDK%. Точнее так: стоит ли во время процедуры настраивать среду ещё и на Platform SDK. Формально оно не есть часть студии, и может быть не установлено (или ещё более вероятно - установлено несколько штук. У меня штук 5 стоит только из новых версии(те что по-умолчанию ложатся в PF/Microsoft SKDs/Windows), и ещё штуки 4 из старших, аля DDK/WDK/IFS kit).

Кстати, для детектирования можно ещё воспользоваться и реестром, ключиком HKLM\SOFTWARE\Microsoft\VisualStudio .
(Утилитка командной строки reg для этого дела используется)
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
DV



Joined: 16 Nov 2006
Posts: 856
Location: Kyiv, Ukraine

PostPosted: Thu Nov 01, 2012 12:17 pm    Post subject: Reply with quote

Немного подправил detect_vc.bat:
http://akelpad.sourceforge.net/forum/viewtopic.php?p=13010#13010
Переменная %MSSDK% используется для явного указания пути к использующимся заголовочным файлам и библиотекам. К примеру, у меня эта переменная есть в двух вариантах:
set MSSDK=C:\Program Files\Microsoft SDKs\Windows\v6.0A
set MSSDK=C:\Program Files\Microsoft SDKs\Windows\v7.0A

Интересно ещё посмотреть на результаты для x64 систем - а также узнать, будет ли работать компиляция при использовании сгенериованных скриптом путей.
Back to top
View user's profile Send private message
KDJ



Joined: 06 Mar 2010
Posts: 1440
Location: Poland

PostPosted: Fri Nov 02, 2012 7:35 pm    Post subject: Reply with quote

FindFiles.js
Added: help for regular expressions.
Back to top
View user's profile Send private message
KDJ



Joined: 06 Mar 2010
Posts: 1440
Location: Poland

PostPosted: Sat Nov 03, 2012 9:33 pm    Post subject: Reply with quote

FindFiles.js
Added:
- find not matching file names,
- search in alternate NTFS streams,
- Ctrl+C - copy selected items from files list.
Back to top
View user's profile Send private message
FeyFre



Joined: 07 Aug 2007
Posts: 2060
Location: Vinnitsa, Ukraine

PostPosted: Sat Nov 03, 2012 9:37 pm    Post subject: Reply with quote

It seems Fr0sT's base64.sj does not work anymore. On "dec" function it emits single characters(first character of expected result) no matter how much characters was encoded.
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
KDJ



Joined: 06 Mar 2010
Posts: 1440
Location: Poland

PostPosted: Sat Nov 03, 2012 10:58 pm    Post subject: Reply with quote

VladSh wrote:
KDJ wrote:
Probably better to select all the files and open them (Ctrl+A and Enter or click "Edit" button ), then close in AkelPad those unnecessary.
I don't understand this Embarassed

Translated by Yandex:
Наверное, лучше, чтобы выбрать все файлы и открыть их (Ctrl+A и Enter, или нажмите кнопку "Изменить"), затем закройте в AkelPad те ненужные.
"Edit" is badly translated, I think it should be "Редактировать", not "Изменить".
Back to top
View user's profile Send private message
KDJ



Joined: 06 Mar 2010
Posts: 1440
Location: Poland

PostPosted: Mon Nov 05, 2012 11:29 am    Post subject: Reply with quote

Updated Chinese translation: FindFiles_2052.lng
Back to top
View user's profile Send private message
VladSh



Joined: 29 Nov 2006
Posts: 2703
Location: Киев, Русь

PostPosted: Mon Nov 05, 2012 12:57 pm    Post subject: Reply with quote

KDJ wrote:
Ctrl+A and Enter or click "Edit" button ), then close in AkelPad those unnecessary.
Search found 50 files. I need 2-3. To find them, I open 5-6.
Open 50 to edit 2-3?
Back to top
View user's profile Send private message Visit poster's website
KDJ



Joined: 06 Mar 2010
Posts: 1440
Location: Poland

PostPosted: Mon Nov 05, 2012 2:42 pm    Post subject: Reply with quote

VladSh
OK, I'll try to do it this way:
Code:
if (DoubleClick)
{
  if (CurrentEditingFile == FileName)
    CloseFile();
  else
    OpenFile();
}
Back to top
View user's profile Send private message
Infocatcher



Joined: 06 Aug 2007
Posts: 1648

PostPosted: Mon Nov 05, 2012 3:13 pm    Post subject: Reply with quote

jsBeautifier.js

Updated scripts from http://jsbeautifier.org/:
beautify-css: do not expose "print" (fixes #147)
Treat chained statements nicely (fix #93, close #10)
Fix some problems with the chained methods
Improve chained methods (fix #151, ref #93, #10)
Drop Crockford's switch indentation (#15)
Add PHP tags to single tags
Preserve_newlines honors multiline string concatenation (fix #154)
simplify keep_array_indentation, fix #155

New features:
Experimental: restore caret position
Add -restoreCaretPos argument
Add -setSyntax argument
Add -breakChainedMethods argument
Back to top
View user's profile Send private message Visit poster's website
KDJ



Joined: 06 Mar 2010
Posts: 1440
Location: Poland

PostPosted: Mon Nov 05, 2012 8:32 pm    Post subject: Reply with quote

FindFiles.js
Changed: action of double click - edit file (or close it if is currently edited).
Fixed: opening files in SDI mode.
Added: message about non-existent files.
Back to top
View user's profile Send private message
VladSh



Joined: 29 Nov 2006
Posts: 2703
Location: Киев, Русь

PostPosted: Mon Nov 05, 2012 11:08 pm    Post subject: Reply with quote

KDJ
Thanks, this is great!
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   This topic is locked: you cannot edit posts or make replies.    AkelPad Forum Index -> Plugins All times are GMT
Goto page Previous  1, 2, 3 ... 57, 58, 59 ... 94, 95, 96  Next
Page 58 of 96

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


SourceForge.net Logo Powered by phpBB © 2001, 2005 phpBB Group