Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bkSn9-00021N-El for pgadmin-hackers@arkaria.postgresql.org; Thu, 15 Sep 2016 09:17:11 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1bkSn9-00006Y-1P for pgadmin-hackers@arkaria.postgresql.org; Thu, 15 Sep 2016 09:17:11 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1bkSn8-00006S-N6 for pgadmin-hackers@postgresql.org; Thu, 15 Sep 2016 09:17:10 +0000 Received: from mail-it0-x235.google.com ([2607:f8b0:4001:c0b::235]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1bkSn4-00064Y-QS for pgadmin-hackers@postgresql.org; Thu, 15 Sep 2016 09:17:09 +0000 Received: by mail-it0-x235.google.com with SMTP id r192so85195883ita.0 for ; Thu, 15 Sep 2016 02:17:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pgadmin-org.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=j+Bh3bq032XTVXHdDeInilhfzvCQ3YfsHeDYtAfg0p8=; b=h2VBMceoKK8NwqKCV6sV4u8CCWCW4Y+l4hsdV6OjNwbM7oAEz+COmt/XhNnWdInQP4 DajUR4lmTTENlo9PLNDJSnFD02i5OxH1oWhQBamAON98aUZQem3EYopr+N8eSDgo7HZ0 24Iw00DYxrVCpGMyDpnmebU9lwdWVGvjg3xpFoe3um8f3l+JrLiDj4UaO2E8vzpfn7Xt HrZetlo4NgVg97Bjo2pH3NyLW/cHHzR6KOPXmMS+pBbX3RLR+NyagHjU3UJogKC967je bkM/+J6rnz0+Wmsf0ObFVVZwiIPGRQUvkOa8ySoeCjsktEQXDQmro7XahLofMtjsW3rl ba7A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=j+Bh3bq032XTVXHdDeInilhfzvCQ3YfsHeDYtAfg0p8=; b=hdu/p/R0afGmXenlROv/TP0VYMP+a6xjX9tNFPhSUktbs6QiE2aE1B7F6l0YwTHcDr lDa0t3zw/bsmz6EanA53dB020/zPLlyUvF2vAdBoSPKpy7xrg5XZDFNSgDkGz9ngOFep 0cMPiYnFned5X5fWJfK0RHknn6Od8f0nhVqS9yqGqq+NV9IS0kGxg3tNKzrhgz84eFS0 dupvjE22QBQQoK09YDpjoVmr+9UF5uBpPfzwsPh0FMfQ/sxeVsmFfVUCRiMSl5ZTYQOR O7NvfeFTcLs9T+UwOFU8I8WeasKIqd6JjZdbEO2YoG+JS1gwQpfsnl2fKlIU9M/PTN8R 76AQ== X-Gm-Message-State: AE9vXwP30z64vwwdAN+GqXNrR1qT3uJXBa033208WIAF6iCUkFxb71EZqVit56j0JP2YJDI74+ilgScFLVtPaQ== X-Received: by 10.107.151.11 with SMTP id z11mr16870882iod.28.1473931025093; Thu, 15 Sep 2016 02:17:05 -0700 (PDT) MIME-Version: 1.0 Received: by 10.64.1.203 with HTTP; Thu, 15 Sep 2016 02:17:04 -0700 (PDT) In-Reply-To: References: From: Dave Page Date: Thu, 15 Sep 2016 10:17:04 +0100 Message-ID: Subject: Re: [pgAdmin4][Patch]: RM1579 - Unable to scroll the query text window during selection To: Surinder Kumar Cc: pgadmin-hackers Content-Type: text/plain; charset=UTF-8 X-Pg-Spam-Score: -2.6 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgadmin-hackers Precedence: bulk Sender: pgadmin-hackers-owner@postgresql.org Thanks, applied. One minor tweak to look at - in firefox, the width of the left margin in the query tool changes when you add a line, if the font size in preferences is not set to 1em. I think the width is initially sized for the font, then gets adjusted as you hit return. This doesn't seem to affect Chrome, and is only a minor annoyance in Firefox. On Thu, Sep 15, 2016 at 10:04 AM, Surinder Kumar wrote: > Hi > > Please find updated patch. > > On Thu, Sep 15, 2016 at 1:38 PM, Dave Page wrote: >> >> (pgadmin4)piranha:pgadmin4 dpage$ git apply ~/Downloads/RM1579.patch >> error: patch failed: web/pgadmin/static/css/overrides.css:53 >> error: web/pgadmin/static/css/overrides.css: patch does not apply >> >> Please rebase! >> >> On Thu, Sep 15, 2016 at 8:54 AM, Surinder Kumar >> wrote: >> > Hi >> > >> > Please find the attached patch patch with following changes: >> > >> > 1) Implemented CodeMirror addon 'simplescrollbars'. >> > >> > 2) The CodeMirror instance of query tool was not rendering into >> > wcDocker's >> > 'pg-panel-content' div. it renders outside the div, due to which it took >> > little more time investigating why scrollbars doesn't appear in editor. >> > >> > 3) Add new css specific to query tool. >> > >> > >> > Please review. >> > >> > Thanks, >> > Surinder Kumar >> > >> > >> > >> > -- >> > Sent via pgadmin-hackers mailing list (pgadmin-hackers@postgresql.org) >> > To make changes to your subscription: >> > http://www.postgresql.org/mailpref/pgadmin-hackers >> > >> >> >> >> -- >> Dave Page >> Blog: http://pgsnake.blogspot.com >> Twitter: @pgsnake >> >> EnterpriseDB UK: http://www.enterprisedb.com >> The Enterprise PostgreSQL Company > > -- Dave Page Blog: http://pgsnake.blogspot.com Twitter: @pgsnake EnterpriseDB UK: http://www.enterprisedb.com The Enterprise PostgreSQL Company -- Sent via pgadmin-hackers mailing list (pgadmin-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgadmin-hackers