Обсуждение: Error set CLRF in SqlEditor on Windows
Version pgadmin-III 1.8.4. Operating System Windows 2000 RussianWin1251 Errors: 1. I am seting mode [CLRF Dos] in "Sql editor", text is coverting Ok. But when am starting to type new text, new text is inputing with [LF] symbol. 2. When I open new work session on "Sql editor", setting [CLRF Dos] reset on [LF]. :( Need save this setting in options menu. My Cvs system not made compare when .sql include [LF] in text file :( I want New Enhancements: 1. Set Lock mode on 'Sql Editor' when file is ReadOnly mode. Thanks. Andrey
On Fri, Jun 20, 2008 at 7:43 AM, "Соболь А.Е." <gen_dir@infogroup.ru> wrote: > Version pgadmin-III 1.8.4. > Operating System Windows 2000 > RussianWin1251 > > Errors: > 1. I am seting mode [CLRF Dos] in "Sql editor", text is coverting Ok. But > when am starting to type new text, new text is inputing with [LF] symbol. Fixed in SVN for 1.8.5. > 2. When I open new work session on "Sql editor", setting [CLRF Dos] reset on > [LF]. :( Need save this setting in options menu. My Cvs system not made > compare when .sql include [LF] in text file :( I've committed a change along these lines for the next major release. It will remember whatever setting you manually select form the menu, and set any new instances of the text control to use that setting from then on. If you open a file that happens to be in a different format however, it won't update the saved default. > I want New Enhancements: > 1. Set Lock mode on 'Sql Editor' when file is ReadOnly mode. You mean you want the SQL editor to be read-only if the file is? I find that extremely annoying in other editors that do it. You may not be able to edit the original file, but there's no reason not to edit it and then use Save As. -- Dave Page EnterpriseDB UK: http://www.enterprisedb.com
Thanks, Dave But, When i work at Repository system, it doing readonly files. Many code editors lock input (Delphi, FoxPro, OpenOffice and other), but SqlEditor not lock. Error path On Step 1, i edit sql file On Step 2, Other user change file and put in Repository On Step 3, I put file also (over) and have lost lot of information. I need lock file in repository before edit. Need UnLock file before edit or do SaveAs.. before Edit. >> I want New Enhancements: >> 1. Set Lock mode on 'Sql Editor' when file is ReadOnly mode. >> > > You mean you want the SQL editor to be read-only if the file is? I > find that extremely annoying in other editors that do it. You may not > be able to edit the original file, but there's no reason not to edit > it and then use Save As. > >
On Fri, Jun 20, 2008 at 12:21 PM, "Соболь А.Е." <gen_dir@infogroup.ru> wrote: > Thanks, Dave > > But, > When i work at Repository system, it doing readonly files. Many code editors > lock input (Delphi, FoxPro, OpenOffice and other), but SqlEditor not lock. > > Error path > On Step 1, i edit sql file > On Step 2, Other user change file and put in Repository > On Step 3, I put file also (over) and have lost lot of information. > > I need lock file in repository before edit. Need UnLock file before edit or > do SaveAs.. before Edit. Well my advice would be to use a source control system so you don't stomp on each others work, but I realise that's not practical for everyone. I won't object to anyone else coding up a patch for this, as long as it's a optional feature (defaulting to off), but I don't expect to find time to do it myself forseeable future. I'll add it to the todo list. -- Dave Page EnterpriseDB UK: http://www.enterprisedb.com