Re: [Geany-devel] Auto-close parenthesis - ID: 2957958 Need Info

2010-11-12 Thread shan chak
Hi, > Since you need to know the algorithm to implement it, perhaps you > should write it out here for review. And remember this code is run > for all filetypes, you might need to think about impacts on non-C > filetypes. > > > You were correct , my bad :( I tried a lot to create something gener

Re: [Geany-devel] Auto-close parenthesis - ID: 2957958 Need Info

2010-11-03 Thread shan chak
Hi, Since you need to know the algorithm to implement it, perhaps you > should write it out here for review. And remember this code is run > for all filetypes, you might need to think about impacts on non-C > filetypes. > Thanks Lex, I was primarily thinking only C/C++ and Java. Let me develop t

Re: [Geany-devel] Auto-close parenthesis - ID: 2957958 Need Info

2010-11-02 Thread Lex Trotman
On 3 November 2010 05:19, shan chak wrote: > Hi, > Thanks Lex, >> >> > The problem is in file editor.c function auto_close_char Line:1397 >> > >> > In the switch-case block the ifs have a compulsory condition which is >> > end_pos == -1 , as far as I understand end_pos is the current position >> >

Re: [Geany-devel] Auto-close parenthesis - ID: 2957958 Need Info

2010-11-02 Thread shan chak
Hi, Thanks Lex, > > > The problem is in file editor.c function auto_close_char Line:1397 > > > > In the switch-case block the ifs have a compulsory condition which is > > end_pos == -1 , as far as I understand end_pos is the current position of > > the brace ( caret ) returned by SSM(sci, SCI_BRAC

Re: [Geany-devel] Auto-close parenthesis - ID: 2957958 Need Info

2010-11-01 Thread Lex Trotman
On 2 November 2010 05:16, shan chak wrote: > Hi, > Referring to bug Auto-close parenthesis - ID: 2957958 ( > https://sourceforge.net/tracker/?func=detail&aid=2957958&group_id=153444&atid=787791 > ) > I successfully reproduced the issue and was able to debug it. Great, thank you. > The problem is

[Geany-devel] Auto-close parenthesis - ID: 2957958 Need Info

2010-11-01 Thread shan chak
Hi, Referring to *bug Auto-close parenthesis - ID: 2957958 ( https://sourceforge.net/tracker/?func=detail&aid=2957958&group_id=153444&atid=787791) I successfully reproduced the issue and was able to debug it. The problem is in file editor.c function auto_close_char Line:1397 In the switch-case blo